diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-13 21:44:59 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-13 21:44:59 +0200 |
commit | 19ac9c5c98a8d5adf22bcf5b8e2d4141c82a3275 (patch) | |
tree | 17a6e17837f36b405b1aff5bf8fc71154d3ad4fc /protocols/proxy.c | |
parent | 782d988a88582a0f3dd6539664d535fb790df024 (diff) |
Timeouts are now persistent.
Diffstat (limited to 'protocols/proxy.c')
-rw-r--r-- | protocols/proxy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/proxy.c b/protocols/proxy.c index d6f3a4ca..b8aa304d 100644 --- a/protocols/proxy.c +++ b/protocols/proxy.c @@ -125,7 +125,9 @@ static int proxy_connect_none(const char *host, unsigned short port, struct PHB } sock_make_nonblocking(fd); - + + event_debug("proxy_connect_none( \"%s\", %d ) = %d\n", host, port, fd); + if (connect(fd, (struct sockaddr *)sin, sizeof(*sin)) < 0) { if (sockerr_again()) { phb->inpa = b_input_add(fd, GAIM_INPUT_WRITE, gaim_io_connected, phb); |