1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-03-31 04:56:56 +00:00

Streamline punctuation of log messages

See commit d38d153f for details.
This commit is contained in:
Alexander Barton 2013-08-06 21:34:32 +02:00
parent bd0de15d31
commit 8f5cbe51a7

View File

@ -222,7 +222,7 @@ cb_connserver(int sock, UNUSED short what)
if (server < 0) { if (server < 0) {
Log(LOG_ERR, "Connection on socket %d to \"%s\" aborted!", Log(LOG_ERR, "Connection on socket %d to \"%s\" aborted!",
sock, My_Connections[idx].host); sock, My_Connections[idx].host);
Conn_Close(idx, "Connection aborted!", NULL, false); Conn_Close(idx, "Connection aborted", NULL, false);
return; return;
} }
@ -1452,7 +1452,7 @@ Handle_Write( CONN_ID Idx )
Log(LOG_ERR, "Write error on connection %d (socket %d): %s!", Log(LOG_ERR, "Write error on connection %d (socket %d): %s!",
Idx, My_Connections[Idx].sock, strerror(errno)); Idx, My_Connections[Idx].sock, strerror(errno));
Conn_Close(Idx, "Write error!", NULL, false); Conn_Close(Idx, "Write error", NULL, false);
return false; return false;
} }