summaryrefslogtreecommitdiffstats
path: root/imap/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/command.c')
-rw-r--r--imap/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/command.c b/imap/command.c
index 32a6405a..61dd622b 100644
--- a/imap/command.c
+++ b/imap/command.c
@@ -216,7 +216,7 @@ int imap_exec (IMAP_DATA* idata, const char* cmd, int flags)
pc = idata->cmd.buf;
pc = imap_next_word (pc);
mutt_error ("%s", pc);
- sleep (2);
+ mutt_sleep (2);
return -1;
}
@@ -368,7 +368,7 @@ static int cmd_handle_untagged (IMAP_DATA* idata)
/* Display the warning message from the server */
mutt_error ("%s", s+3);
- sleep (2);
+ mutt_sleep (2);
}
return 0;