[Commits] [SCM] claws branch, master, updated. 3.15.0-78-g1cad06a

ticho at claws-mail.org ticho at claws-mail.org
Tue Jul 4 14:42:55 CEST 2017


The branch, master has been updated
       via  1cad06a23cfcb44164e481ad998f33b74c244a95 (commit)
      from  2f1eda3f09725b6fbf467a71593c020226478162 (commit)

Summary of changes:
 src/plugins/rssyl/strutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 1cad06a23cfcb44164e481ad998f33b74c244a95
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Jul 4 12:07:02 2017 +0200

    Fix for 2f1eda3f0.

diff --git a/src/plugins/rssyl/strutils.c b/src/plugins/rssyl/strutils.c
index af20604..b2c2714 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));
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list