]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Fixed typo in two error messages
authorAlexander Barton <alex@barton.de>
Thu, 29 Dec 2011 23:32:11 +0000 (00:32 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 29 Dec 2011 23:32:11 +0000 (00:32 +0100)
Thanks to Christoph Biedl!

src/ngircd/conn.c

index 4d5c223c0161f1713448b38a5a576024d84febd1..4a2f49c1aae46d75644daab94c0d61ff0b2b34f2 100644 (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,
                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);
                            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)) {
 #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 );
                }
        }
                        Conn_Close(Idx, "Receive buffer space exhausted", NULL, false );
                }
        }