curl: Fix equality comparison with extraneous parantheses compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 13 May 2012 13:24:52 +0000 (15:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 13 May 2012 13:24:52 +0000 (15:24 +0200)
gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses

ext/curl/gstcurlhttpsink.c

index 7101434..5df3e50 100644 (file)
@@ -408,7 +408,7 @@ gst_curl_http_sink_transfer_prepare_poll_wait (GstCurlBaseSink * bcsink)
       && sink->proxy_auth) {
     curl_easy_getinfo (bcsink->curl, CURLINFO_HTTP_CONNECTCODE,
         &sink->proxy_resp);
-    if ((sink->proxy_resp == RESPONSE_CONNECT_PROXY)) {
+    if (sink->proxy_resp == RESPONSE_CONNECT_PROXY) {
       GST_LOG ("received HTTP/1.0 200 Connection Established");
       /* Workaround: redefine HTTP headers before connecting to HTTP server.
        * When talking to proxy, the Content-Length: 0 is send with the request.