chiark / gitweb /
server/peer.c: Fix `unknown-category' message.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 23 Apr 2012 17:06:12 +0000 (18:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 23 Apr 2012 17:38:43 +0000 (18:38 +0100)
A missing comma caused adjacent-string-literal pasting.

server/peer.c

index 72287cd..f41b66e 100644 (file)
@@ -395,7 +395,7 @@ static void p_read(int fd, unsigned mode, void *v)
       a_warn("PEER",
             "?PEER", p,
             "bad-packet",
-            "unknown-category" "0x%02x", ch,
+            "unknown-category", "0x%02x", ch,
             A_END);
       break;
     unexp: