src/main.c
changeset 29 08ec6ddd6eea
parent 23 1cd79bb84e9c
child 31 bbcb8a3366b4
--- a/src/main.c
+++ b/src/main.c
@@ -99,8 +99,9 @@
 
         if ((command = irc_parsemessage (buf, &message))) {
             printf ("%10s %s %s\n", command, message.channel, message.line);
-            if (!strcmp (command, "ERROR") || !strcmp (command, "ENOMEM"))
+            if (!strcmp (command, "ERROR") || !strcmp (command, "ENOMEM")) {
                 break;
+            }
         } else {
             if ((msg = parse (&message)) != NULL) {
                 fprintf (message.stream, "%s\r\n", msg);