fix typo :)

This commit is contained in:
DNB 2006-03-04 13:14:53 +00:00
parent 9e4c836f08
commit 10acef33db

View file

@ -145,7 +145,7 @@ void adns__tcp_tryconnect(adns_state ads, struct timeval now)
tcp_connected(ads, now);
return;
}
if((os_sock_errno == OS_SOCK_EWOULDBLOCK) | (os_sock_errno == OS_SOCK_EINPROGRESS) )
if((os_sock_errno == OS_SOCK_EWOULDBLOCK) || (os_sock_errno == OS_SOCK_EINPROGRESS) )
{
ads->tcptimeout = now;
/* EVNT addsock write */