From 334b07ac286e16e71299404a57211d7492621a9a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 19 Aug 2004 23:24:24 +0000 Subject: [PATCH] 005 fix. Patch by Valentin Batz git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3281 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/dump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index d7e3c047..f98bee94 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -217,7 +217,10 @@ void proxy_client_reset_nick(CLIENT_REC *client) static void proxy_dump_data_005(gpointer key, gpointer value, gpointer context) { - g_string_sprintfa(context, "%s=%s ", (char *)key, (char *)value); + if (*(char *)value != '\0') + g_string_sprintfa(context, "%s=%s ", (char *)key, (char *)value); + else + g_string_sprintfa(context, "%s ", (char *)key); } void proxy_dump_data(CLIENT_REC *client)