]> granicus.if.org Git - neomutt/commitdiff
Pause for a moment when a hostname fails to resolve. Closes #1942.
authorBrendan Cully <brendan@kublai.com>
Mon, 8 Aug 2005 18:59:43 +0000 (18:59 +0000)
committerBrendan Cully <brendan@kublai.com>
Mon, 8 Aug 2005 18:59:43 +0000 (18:59 +0000)
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 ())...

mutt_socket.c

index 8d9f83917573862e835da8e7c6c6e3374dd89096..bc859f5d6be352271dde1ebf83d4fc9701e450e1 100644 (file)
@@ -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;
   }