phyp: too much timeout when polling socket

* src/phyp/phyp_driver.c: a 10s timeout on socket availability was way
  too long, reduced to 1ms
This commit is contained in:
Eduardo Otubo 2009-11-11 11:53:16 +01:00 committed by Daniel Veillard
parent 75825e453a
commit 4916936751

View File

@ -2174,8 +2174,8 @@ waitsocket(int socket_fd, LIBSSH2_SESSION * session)
fd_set *readfd = NULL;
int dir;
timeout.tv_sec = 10;
timeout.tv_usec = 0;
timeout.tv_sec = 0;
timeout.tv_usec = 1000;
FD_ZERO(&fd);