From ca363efe00a05682acf9de828d55e991657b9e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sun, 20 Sep 2015 21:01:25 +0200 Subject: [PATCH] Use g_string_append() instead of g_string_append_c() for string. --- src/irc/proxy/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index 455a2fe3..05059360 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -169,7 +169,7 @@ static void dump_join(IRC_CHANNEL_REC *channel, CLIENT_REC *client) NICK_REC *nick = tmp->data; if (str->len >= 500) { - g_string_append_c(str, '\r\n'); + g_string_append(str, "\r\n"); proxy_outdata(client, "%s", str->str); create_names_start(str, channel, client); first = TRUE;