From 9fcd69b9efbe64e0b9a8fa53f00ffcb968612fe7 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 7 Apr 2010 09:50:12 +0200 Subject: [PATCH] http-proxy: fixed bad return value --- 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 3e79d784..dfed96d9 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; }