Fix error logging format string mangled by a bogus comma.
authorKp <kp@valhallalegends.com>
Mon, 8 Dec 2008 00:24:33 +0000 (18:24 -0600)
committerKp <kp@valhallalegends.com>
Sat, 13 Dec 2008 19:57:38 +0000 (13:57 -0600)
A format string was split over two lines, with the second line
containing the format specifier that prints the channel name.  A comma
was incorrectly appended to the first line, causing the format specifier
substring to become an argument string.  Since no format specifiers
remain in the main string, the logger does not format any arguments.
Remove the bogus comma to fix that.

apps/silcd/server.c

index 777d724336699556b6d6d020eeb115566eb2e13d..501fc671ac228d0ef2d980b85705f6d884799e98 100644 (file)
@@ -5018,7 +5018,7 @@ void silc_server_save_users_on_channel(SilcServer server,
     }
 
     if (!(client->data.status & SILC_IDLIST_STATUS_REGISTERED)) {
-      SILC_LOG_ERROR(("Attempting to add unregistered client to channel ",
+      SILC_LOG_ERROR(("Attempting to add unregistered client to channel "
                      "%s", channel->channel_name));
       continue;
     }