From: Brendan Cully Date: Mon, 8 Aug 2005 18:59:43 +0000 (+0000) Subject: Pause for a moment when a hostname fails to resolve. Closes #1942. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef972e0d0037b302da40b92dca312ea0a4e8f700;p=neomutt Pause for a moment when a hostname fails to resolve. Closes #1942. There are a number of cases where mutt cascades error messages. It might be nice if there were an error stack so that low level functions could push_error instead of displaying it right away, and the higher level ones could eg mutt_message(_("Failed to write FCC: %s"), pop_error ())... --- diff --git a/mutt_socket.c b/mutt_socket.c index 8d9f83917..bc859f5d6 100644 --- a/mutt_socket.c +++ b/mutt_socket.c @@ -440,6 +440,7 @@ int raw_socket_open (CONNECTION* conn) if (rc) { mutt_error (_("Could not find the host \"%s\""), conn->account.host); + mutt_sleep (2); return -1; }