From: Andrej Kacian Date: Tue, 4 Jul 2017 10:07:02 +0000 (+0200) Subject: Fix for 2f1eda3f0. X-Git-Tag: 3.16.0~126 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=1cad06a23cfcb44164e481ad998f33b74c244a95 Fix for 2f1eda3f0. --- diff --git a/src/plugins/rssyl/strutils.c b/src/plugins/rssyl/strutils.c index af20604c0..b2c27149a 100644 --- a/src/plugins/rssyl/strutils.c +++ b/src/plugins/rssyl/strutils.c @@ -106,7 +106,7 @@ gchar *rssyl_strreplace(gchar *source, gchar *pattern, /* We broke off the above cycle because remaining text was not * long enough for the pattern, so now we need to append the * remaining text to the new string. */ - if (c != '\0') { + if (*c != '\0') { strncat(new, c, final_length - strlen(new)); }