Commit Diff
Diff:
34578b8b300bdb39d6fef7dba0ba8e02fe6c17fd
0083fe177f727af6ab43e190e3bea8a94555348e
Commit:
0083fe177f727af6ab43e190e3bea8a94555348e
Tree:
102e6d04557d8b3ff415d3ffe726579a87fc3209
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Sat Aug 1 13:14:23 2015 UTC
Message:
Fix debug message "Client ... is closing connection" It should be "host:port"!
blob - 6b3b51eaf5c10dc6b8555d8a99b53dee3b178a79
blob + edcd868efba8b30a6113897b6f94df18db18b6b7
--- src/ngircd/conn.c
+++ 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;
}
IRCNow