repo: ngircd action: commit revision: path_from: revision_from: 0083fe177f727af6ab43e190e3bea8a94555348e: path_to: revision_to:
commit 0083fe177f727af6ab43e190e3bea8a94555348e Author: Alexander BartonDate: Sat Aug 1 15:14:23 2015 +0200 Fix debug message "Client ... is closing connection" It should be "host:port"! diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
--- 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;
}
-----END OF PAGE-----