mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
more pre-8.0 fixes
This commit is contained in:
parent
163a499bfe
commit
94893bd698
26 changed files with 4079 additions and 5 deletions
|
@ -34,7 +34,7 @@ ssize_t read_safe(int fd, void *buffer, size_t len) {
|
|||
struct timeval tv;
|
||||
int ret = 0;
|
||||
|
||||
fcntl(fd, F_SETFL, O_NONBLOCK);
|
||||
(void)fcntl(fd, F_SETFL, O_NONBLOCK);
|
||||
do {
|
||||
FD_ZERO(&fr);
|
||||
FD_SET(fd, &fr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue