From: Alexander Barton Date: Tue, 6 Aug 2013 19:34:32 +0000 (+0200) Subject: Streamline punctuation of log messages X-Git-Tag: rel-21-rc1~58 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=8f5cbe51a79c786be30ebc93466988cf67a825e1;hp=bd0de15d314e6eacd0ea77be49473fedc7b2667f Streamline punctuation of log messages See commit d38d153f for details. --- diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 01253a2a..86aeb652 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -222,7 +222,7 @@ cb_connserver(int sock, UNUSED short what) if (server < 0) { Log(LOG_ERR, "Connection on socket %d to \"%s\" aborted!", sock, My_Connections[idx].host); - Conn_Close(idx, "Connection aborted!", NULL, false); + Conn_Close(idx, "Connection aborted", NULL, false); return; } @@ -1452,7 +1452,7 @@ Handle_Write( CONN_ID Idx ) Log(LOG_ERR, "Write error on connection %d (socket %d): %s!", Idx, My_Connections[Idx].sock, strerror(errno)); - Conn_Close(Idx, "Write error!", NULL, false); + Conn_Close(Idx, "Write error", NULL, false); return false; }