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:
parent
aa78361f24
commit
b7ed8cec6c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user