1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 15:13:13 +02:00

- Some fixes with connect(). Knowing my luck this will fuck up to hell

This commit is contained in:
stskeeps
2002-04-25 19:55:55 +00:00
parent 9cf9781698
commit 8d35c56efb
4 changed files with 5 additions and 8 deletions
+1 -2
View File
@@ -241,8 +241,7 @@ void scan_http_scan_port(HSStruct *z)
*/
set_non_blocking(fd, NULL);
if ((retval = connect(fd, (struct sockaddr *)&sin,
sizeof(sin))) == -1 && !((ERRNO == P_EWOULDBLOCK)
|| (ERRNO == P_EINPROGRESS)))
sizeof(sin))) == -1 && !(ERRNO == P_EINPROGRESS))
{
/* we have no socks server! */
CLOSE_SOCK(fd);