From: Alexander Barton Date: Thu, 29 Dec 2011 23:32:11 +0000 (+0100) Subject: Fixed typo in two error messages X-Git-Tag: rel-19-rc1~87 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=765c2f26ea29d5930d19dab5307c302e473e1120;ds=inline Fixed typo in two error messages Thanks to Christoph Biedl! --- diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 4d5c223c..4a2f49c1 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1572,7 +1572,7 @@ Read_Request( CONN_ID Idx ) if (!array_catb(&My_Connections[Idx].zip.rbuf, readbuf, (size_t) len)) { Log(LOG_ERR, - "Could not append recieved data to zip input buffer (connn %d): %d bytes!", + "Could not append recieved data to zip input buffer (connection %d): %d bytes!", Idx, len); Conn_Close(Idx, "Receive buffer space exhausted", NULL, false); @@ -1582,7 +1582,9 @@ Read_Request( CONN_ID Idx ) #endif { if (!array_catb( &My_Connections[Idx].rbuf, readbuf, len)) { - Log( LOG_ERR, "Could not append recieved data to input buffer (connn %d): %d bytes!", Idx, len ); + Log(LOG_ERR, + "Could not append recieved data to input buffer (connection %d): %d bytes!", + Idx, len); Conn_Close(Idx, "Receive buffer space exhausted", NULL, false ); } }