[Commits] procmime.c 1.49.2.140 1.49.2.141
colin at claws-mail.org
colin at claws-mail.org
Sun Feb 5 14:23:55 CET 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv19853/src
Modified Files:
Tag: gtk2
procmime.c
Log Message:
2012-02-05 [colin] 3.8.0cvs25
* src/procmime.c
Fix inverted comparison in list_find_custom.
Index: procmime.c
===================================================================
RCS file: /home/claws-mail/claws/src/procmime.c,v
retrieving revision 1.49.2.140
retrieving revision 1.49.2.141
diff -u -d -r1.49.2.140 -r1.49.2.141
--- procmime.c 8 Apr 2011 16:06:18 -0000 1.49.2.140
+++ procmime.c 5 Feb 2012 13:23:53 -0000 1.49.2.141
@@ -1701,15 +1701,15 @@
tmp[0] = '\0';
if ((tmp[1] == '0') && (tmp[2] == '\0') &&
- (g_slist_find_custom(concatlist, down_attr, g_str_equal) == NULL))
+ (g_slist_find_custom(concatlist, down_attr, g_strcmp0) == NULL))
concatlist = g_slist_prepend(concatlist, g_strdup(tmpattr));
- if (convert && (g_slist_find_custom(convlist, down_attr, g_str_equal) == NULL))
+ if (convert && (g_slist_find_custom(convlist, down_attr, g_strcmp0) == NULL))
convlist = g_slist_prepend(convlist, g_strdup(tmpattr));
g_free(tmpattr);
} else if (convert) {
- if (g_slist_find_custom(convlist, down_attr, g_str_equal) == NULL)
+ if (g_slist_find_custom(convlist, down_attr, g_strcmp0) == NULL)
convlist = g_slist_prepend(convlist, g_strdup(down_attr));
}
More information about the Commits
mailing list