Log when the user specifies an invalid port.
This commit is contained in:
parent
91adfb5917
commit
7df34cdcb2
@ -1567,6 +1567,7 @@ server_connect (server *serv, char *hostname, int port, int no_login)
|
|||||||
if (serv->use_ssl)
|
if (serv->use_ssl)
|
||||||
port = 6697;
|
port = 6697;
|
||||||
#endif
|
#endif
|
||||||
|
g_debug ("Attempted to connect to invalid port, assuming default port %d", port);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (serv->connected || serv->connecting || serv->recondelay_tag)
|
if (serv->connected || serv->connecting || serv->recondelay_tag)
|
||||||
|
Loading…
Reference in New Issue
Block a user