1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Don't reconnect with invalid own hostname.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3141 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-11-16 16:33:53 +00:00 committed by cras
parent aa78361f24
commit b7ed8cec6c

View File

@ -196,7 +196,8 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip,
if (handle == NULL) { if (handle == NULL) {
/* failed */ /* failed */
if (server->connrec->use_ssl && errno == ENOSYS) if (errno == EADDRNOTAVAIL ||
(server->connrec->use_ssl && errno == ENOSYS))
server->no_reconnect = TRUE; server->no_reconnect = TRUE;
server->connection_lost = TRUE; server->connection_lost = TRUE;