sleep -> usleep fix

This commit is contained in:
van Hauser 2016-09-01 17:38:33 +02:00
parent cbe0ada4c1
commit f42f7626ac
30 changed files with 40 additions and 40 deletions

View file

@ -24,7 +24,7 @@ int start_telnet(int s, char *ip, int port, unsigned char options, char *miscptr
} else {
send(s, &buffer[i], 1, 0);
}
sleepn(20);
usleepn(20);
}
} else {
if (hydra_send(s, buffer, strlen(buffer) + 1, 0) < 0) {
@ -66,7 +66,7 @@ int start_telnet(int s, char *ip, int port, unsigned char options, char *miscptr
} else {
send(s, &buffer[i], 1, 0);
}
sleepn(20);
usleepn(20);
}
} else {
if (hydra_send(s, buffer, strlen(buffer) + 1, 0) < 0) {
@ -112,7 +112,7 @@ void service_telnet(char *ip, int sp, unsigned char options, char *miscptr, FILE
case 1: /* connect and service init function */
if (sock >= 0)
sock = hydra_disconnect(sock);
// sleepn(300);
// usleepn(300);
no_line_mode = 0;
first = 0;
if ((options & OPTION_SSL) == 0) {