mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue