Mercurial > pidgin.yaz
comparison src/proxy.c @ 2896:7e82b69b03b7
[gaim-migrate @ 2909]
eh.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 16 Dec 2001 21:57:59 +0000 |
parents | babeeac8cf9e |
children | a090e98dbbb6 |
comparison
equal
deleted
inserted
replaced
2895:63cdece2348d | 2896:7e82b69b03b7 |
---|---|
176 if (connect(fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) { | 176 if (connect(fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) { |
177 if ((errno == EINPROGRESS) || (errno == EINTR)) { | 177 if ((errno == EINPROGRESS) || (errno == EINTR)) { |
178 debug_printf("Connect would have blocked\n"); | 178 debug_printf("Connect would have blocked\n"); |
179 phb->inpa = gaim_input_add(fd, GAIM_INPUT_WRITE, no_one_calls, phb); | 179 phb->inpa = gaim_input_add(fd, GAIM_INPUT_WRITE, no_one_calls, phb); |
180 } else { | 180 } else { |
181 debug_printf("connect failed (errno %d)\n", errno); | |
181 close(fd); | 182 close(fd); |
182 g_free(phb); | 183 g_free(phb); |
183 return -1; | 184 return -1; |
184 } | 185 } |
185 } else { | 186 } else { |