mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
redo fix
This commit is contained in:
parent
4945897895
commit
8c480be54e
2 changed files with 21 additions and 13 deletions
|
@ -18,9 +18,9 @@ int my_select(int fd, fd_set * fdread, fd_set * fdwrite, fd_set * fdex, long sec
|
|||
fde2 = fdex;
|
||||
stv.tv_sec = sec;
|
||||
stv.tv_usec = usec;
|
||||
if (debug) printf("before select\n");
|
||||
if (debug > 1) printf("before select\n");
|
||||
ret_val = select(fd, fdr2, fdw2, fde2, &stv);
|
||||
if (debug) printf("after select\n");
|
||||
if (debug > 1) printf("after select\n");
|
||||
/* XXX select() sometimes returns errno=EINTR (signal found) */
|
||||
} while (ret_val == -1 && errno == EINTR);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue