X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.c;h=edcd868efba8b30a6113897b6f94df18db18b6b7;hp=6b3b51eaf5c10dc6b8555d8a99b53dee3b178a79;hb=0083fe177f727af6ab43e190e3bea8a94555348e;hpb=5545e1bebf31ddb9f89c80979c0be93e3fdf6f0c 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; }