From fc317b8dbb269b55758ffd4449fc206e143fed14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 13 May 2012 15:24:52 +0200 Subject: [PATCH] curl: Fix equality comparison with extraneous parantheses compiler warning gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses --- ext/curl/gstcurlhttpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/curl/gstcurlhttpsink.c b/ext/curl/gstcurlhttpsink.c index 7101434..5df3e50 100644 --- a/ext/curl/gstcurlhttpsink.c +++ b/ext/curl/gstcurlhttpsink.c @@ -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. -- 2.7.4