mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
curl: Fix 'equality comparison with extraneous parentheses' compiler warning
This commit is contained in:
parent
83ffd07e44
commit
4b42d5c5c6
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ gst_curl_sink_handle_transfer (GstCurlSink * sink)
|
|||
if (!proxy_conn_established && (resp_proxy != RESPONSE_CONNECT_PROXY)
|
||||
&& proxy_auth) {
|
||||
curl_easy_getinfo (sink->curl, CURLINFO_HTTP_CONNECTCODE, &resp_proxy);
|
||||
if ((resp_proxy == RESPONSE_CONNECT_PROXY)) {
|
||||
if (resp_proxy == 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.
|
||||
|
|
Loading…
Reference in a new issue