mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-13 12:07:10 +00:00
Fix debug message "Client ... is closing connection"
It should be "host:port"!
This commit is contained in:
@@ -1583,7 +1583,7 @@ Read_Request( CONN_ID Idx )
|
|||||||
if (len == 0) {
|
if (len == 0) {
|
||||||
LogDebug("Client \"%s:%u\" is closing connection %d ...",
|
LogDebug("Client \"%s:%u\" is closing connection %d ...",
|
||||||
My_Connections[Idx].host,
|
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);
|
Conn_Close(Idx, NULL, "Client closed connection", false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user