mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Ignore DNS not found errors when considering reconnect.
Contrary to the standards, these are often transient. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4873 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
84e1e871e7
commit
6e1d887a7a
@ -203,10 +203,10 @@ server_connect_copy_skeleton(SERVER_CONNECT_REC *src, int connect_info)
|
||||
#define server_should_reconnect(server) \
|
||||
((server)->connection_lost && !(server)->no_reconnect && \
|
||||
((server)->connrec->chatnet != NULL || \
|
||||
(!(server)->banned && !(server)->dns_error)))
|
||||
!(server)->banned))
|
||||
|
||||
#define sserver_connect_ok(rec, net) \
|
||||
(!(rec)->banned && !(rec)->dns_error && (rec)->chatnet != NULL && \
|
||||
(!(rec)->banned && (rec)->chatnet != NULL && \
|
||||
g_strcasecmp((rec)->chatnet, (net)) == 0)
|
||||
|
||||
static void sig_reconnect(SERVER_REC *server)
|
||||
|
Loading…
Reference in New Issue
Block a user