mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
curl: Fix equality comparison with extraneous parantheses compiler warning
gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses
This commit is contained in:
parent
62fb03d368
commit
fc317b8dbb
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ gst_curl_http_sink_transfer_prepare_poll_wait (GstCurlBaseSink * bcsink)
|
||||||
&& sink->proxy_auth) {
|
&& sink->proxy_auth) {
|
||||||
curl_easy_getinfo (bcsink->curl, CURLINFO_HTTP_CONNECTCODE,
|
curl_easy_getinfo (bcsink->curl, CURLINFO_HTTP_CONNECTCODE,
|
||||||
&sink->proxy_resp);
|
&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");
|
GST_LOG ("received HTTP/1.0 200 Connection Established");
|
||||||
/* Workaround: redefine HTTP headers before connecting to HTTP server.
|
/* Workaround: redefine HTTP headers before connecting to HTTP server.
|
||||||
* When talking to proxy, the Content-Length: 0 is send with the request.
|
* When talking to proxy, the Content-Length: 0 is send with the request.
|
||||||
|
|
Loading…
Reference in a new issue