Use g_string_append() instead of g_string_append_c() for string.

This commit is contained in:
Alexander Færøy 2015-09-20 21:01:25 +02:00
parent 9586766d87
commit ca363efe00
No known key found for this signature in database
GPG Key ID: E15081D5D3C3DB53

View File

@ -169,7 +169,7 @@ static void dump_join(IRC_CHANNEL_REC *channel, CLIENT_REC *client)
NICK_REC *nick = tmp->data; NICK_REC *nick = tmp->data;
if (str->len >= 500) { if (str->len >= 500) {
g_string_append_c(str, '\r\n'); g_string_append(str, "\r\n");
proxy_outdata(client, "%s", str->str); proxy_outdata(client, "%s", str->str);
create_names_start(str, channel, client); create_names_start(str, channel, client);
first = TRUE; first = TRUE;