[Commits] [SCM] claws branch, master, updated. 3.15.0-165-ge8c736d

mones at claws-mail.org mones at claws-mail.org
Fri Nov 3 17:47:20 CET 2017


The branch, master has been updated
       via  e8c736db2ccb37ab9afada7fa8f5ca7a0f2ea34f (commit)
      from  9d25cc995df606659c73a48149c89808ed319ada (commit)

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


- Log -----------------------------------------------------------------
commit e8c736db2ccb37ab9afada7fa8f5ca7a0f2ea34f
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Nov 3 17:46:19 2017 +0100

    Use appropriate array for searching

diff --git a/src/plugins/rssyl/strutils.c b/src/plugins/rssyl/strutils.c
index b2c2714..fe8f148 100644
--- a/src/plugins/rssyl/strutils.c
+++ b/src/plugins/rssyl/strutils.c
@@ -239,7 +239,7 @@ gchar *rssyl_replace_html_stuff(gchar *text,
 	/* TODO: rewrite this part to work similarly to rssyl_replace_chrefs() */
 	if( tags ) {
 		for( i = 0; tag_list[i].key != NULL; i++ ) {
-			if( g_strstr_len(text, strlen(text), symbol_list[i].key) ) {
+			if( g_strstr_len(text, strlen(text), tag_list[i].key) ) {
 				tmp = rssyl_strreplace(wtext, tag_list[i].key, tag_list[i].val);
 				g_free(wtext);
 				wtext = g_strdup(tmp);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list