1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

connect timeout bug fix

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-02-10 17:50:06 +02:00
parent 28489be4c0
commit 58f20edf9c

View File

@ -175,6 +175,9 @@ static int connect2(my_socket s, const struct sockaddr *name, uint namelen,
* implementations of select that don't adjust tv upon
* failure to reflect the time remaining
*/
#ifdef HAVE_POLL
return(0);
#endif
start_time = time(NULL);
for (;;)
{