From: Kp Date: Mon, 8 Dec 2008 00:24:33 +0000 (-0600) Subject: Fix error logging format string mangled by a bogus comma. X-Git-Tag: silc.toolkit.1.1.9~6^2~2 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=6cf290c9d959d9842d099d7f3c02aa4aca286b0f Fix error logging format string mangled by a bogus comma. 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. --- diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 777d7243..501fc671 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -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; }