diff options
author | Timo Sirainen <cras@irssi.org> | 2004-08-19 23:24:24 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-08-19 23:24:24 +0000 |
commit | 334b07ac286e16e71299404a57211d7492621a9a (patch) | |
tree | 9e163863440be28c76504b44db3da0258141188a /src/irc/proxy/dump.c | |
parent | cab719eb922cec2f48428ae527b9cf42bb818cd8 (diff) | |
download | irssi-334b07ac286e16e71299404a57211d7492621a9a.zip |
005 fix. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3281 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/proxy/dump.c')
-rw-r--r-- | src/irc/proxy/dump.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |