http-proxy: fixed bad return value

From the original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 7 Apr 2010
This commit is contained in:
Bob Mottram 2016-04-14 11:41:05 +01:00
commit bade9e3d9e

View file

@ -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;
}