From 6cf290c9d959d9842d099d7f3c02aa4aca286b0f Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 7 Dec 2008 18:24:33 -0600 Subject: [PATCH] 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. --- apps/silcd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.24.0