mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
sleep -> usleep fix
This commit is contained in:
parent
cbe0ada4c1
commit
f42f7626ac
30 changed files with 40 additions and 40 deletions
|
@ -19,7 +19,7 @@ char *imap_read_server_capacity(int sock) {
|
|||
if (buf != NULL) {
|
||||
if (strstr(buf, "CAPABILITY") != NULL && buf[0] == '*') {
|
||||
resp = 1;
|
||||
sleepn(300);
|
||||
usleepn(300);
|
||||
/* we got the capability info then get the completed warning info from server */
|
||||
while (hydra_data_ready(sock)) {
|
||||
free(buf);
|
||||
|
@ -366,7 +366,7 @@ void service_imap(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(275);
|
||||
// usleepn(275);
|
||||
if ((options & OPTION_SSL) == 0) {
|
||||
if (port != 0)
|
||||
myport = port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue