]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Streamline punctuation of log messages
authorAlexander Barton <alex@barton.de>
Tue, 6 Aug 2013 19:34:32 +0000 (21:34 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 6 Aug 2013 19:34:32 +0000 (21:34 +0200)
See commit d38d153f for details.

src/ngircd/conn.c

index 01253a2a19dba746ead7a8edc8b1bca34985c263..86aeb6524d4dc13382d23dd6b6d5bf386a57d4b5 100644 (file)
@@ -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;
        }