talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 1cad06a23cfcb44164e481ad998f33b74c244a95
parent 2f1eda3f09725b6fbf467a71593c020226478162
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Tue,  4 Jul 2017 12:07:02 +0200

Fix for 2f1eda3f0.

Diffstat:
Msrc/plugins/rssyl/strutils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)); }