From bade9e3d9e7d95b51da578eb8ed88f0789baff06 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 14 Apr 2016 11:41:05 +0100 Subject: [PATCH] http-proxy: fixed bad return value From the original patch by Enrico Scholz 7 Apr 2010 --- src/core/network-proxy-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/network-proxy-http.c b/src/core/network-proxy-http.c index 4e17d5c1..07966b3f 100644 --- a/src/core/network-proxy-http.c +++ b/src/core/network-proxy-http.c @@ -63,7 +63,7 @@ send_connect(struct _network_proxy_http *proxy, GIOChannel *ch, char const *addr !_network_proxy_send_all(ch, port_str, -1) || !_network_proxy_send_all(ch, " HTTP/1.0\r\n\r\n", -1) || !_network_proxy_flush(ch)) - return -1; + return false; return true; }