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:
parent
69fa6f268a
commit
765c2f26ea
@ -1572,7 +1572,7 @@ Read_Request( CONN_ID Idx )
|
|||||||
if (!array_catb(&My_Connections[Idx].zip.rbuf, readbuf,
|
if (!array_catb(&My_Connections[Idx].zip.rbuf, readbuf,
|
||||||
(size_t) len)) {
|
(size_t) len)) {
|
||||||
Log(LOG_ERR,
|
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);
|
Idx, len);
|
||||||
Conn_Close(Idx, "Receive buffer space exhausted", NULL,
|
Conn_Close(Idx, "Receive buffer space exhausted", NULL,
|
||||||
false);
|
false);
|
||||||
@ -1582,7 +1582,9 @@ Read_Request( CONN_ID Idx )
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (!array_catb( &My_Connections[Idx].rbuf, readbuf, len)) {
|
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 );
|
Conn_Close(Idx, "Receive buffer space exhausted", NULL, false );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user