diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2008-08-25 16:34:02 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-08-25 16:34:02 +0000 |
commit | 6e1d887a7ad10e3bfc6cc3f9822b3ff51a987efb (patch) | |
tree | 6ac23cb4acf2aa6ff500d72874ccff372e4a9dd0 | |
parent | 84e1e871e7601d78f7ae6713b8caa4e76a47dba0 (diff) | |
download | irssi-6e1d887a7ad10e3bfc6cc3f9822b3ff51a987efb.zip |
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
-rw-r--r-- | src/core/servers-reconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers-reconnect.c b/src/core/servers-reconnect.c index ae1942af..c8a72628 100644 --- a/src/core/servers-reconnect.c +++ b/src/core/servers-reconnect.c @@ -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) |