summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2015-08-01 15:14:23 +0200
committerAlexander Barton <alex@barton.de>2015-08-01 15:14:23 +0200
commit0083fe177f727af6ab43e190e3bea8a94555348e (patch)
tree102e6d04557d8b3ff415d3ffe726579a87fc3209 /src
parent34578b8b300bdb39d6fef7dba0ba8e02fe6c17fd (diff)
downloadngircd-0083fe177f727af6ab43e190e3bea8a94555348e.tar.gz
ngircd-0083fe177f727af6ab43e190e3bea8a94555348e.zip
Fix debug message "Client ... is closing connection"
It should be "host:port"!
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 6b3b51ea..edcd868e 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -1583,7 +1583,7 @@ Read_Request( CONN_ID Idx )
 	if (len == 0) {
 		LogDebug("Client \"%s:%u\" is closing connection %d ...",
 			 My_Connections[Idx].host,
-			 ng_ipaddr_tostr(&My_Connections[Idx].addr), Idx);
+			 ng_ipaddr_getport(&My_Connections[Idx].addr), Idx);
 		Conn_Close(Idx, NULL, "Client closed connection", false);
 		return;
 	}