summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-17 21:51:40 +0000
committerPatrick <tingping@tingping.se>2022-01-17 18:36:49 -0600
commit7df34cdcb2039678356f9dd44bb52e670dbcf8ce (patch)
treea6a0bd26d39e845365ed67768be61bad30e22781 /src/common/server.c
parent91adfb5917d31a7c29d6c0536f1e301542577e81 (diff)
Log when the user specifies an invalid port.
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c
index c2965eb3..e14da237 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -1567,6 +1567,7 @@ server_connect (server *serv, char *hostname, int port, int no_login)
 		if (serv->use_ssl)
 			port = 6697;
 #endif
+		g_debug ("Attempted to connect to invalid port, assuming default port %d", port);
 	}
 
 	if (serv->connected || serv->connecting || serv->recondelay_tag)