http-proxy: fixed bad return value

This commit is contained in:
Enrico Scholz 2010-04-07 09:50:12 +02:00 committed by hawken
parent 2e89752708
commit 9fcd69b9ef

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