1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 09:50:29 +00:00

Fixed typo in two error messages

Thanks to Christoph Biedl!
This commit is contained in:
Alexander Barton 2011-12-30 00:32:11 +01:00
parent 69fa6f268a
commit 765c2f26ea

View File

@ -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 );
}
}