talons

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

commit afac9f83ee1f0f6c42b451502f67787ee65f810d
parent 818f67aaeb3a45953788e1d62bc8c630d8317106
Author: Colin Leroy <colin@colino.net>
Date:   Sun,  5 Feb 2012 13:23:54 +0000

2012-02-05 [colin]	3.8.0cvs25

	* src/procmime.c
		Fix inverted comparison in list_find_custom.

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/procmime.c | 6+++---
4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-05 [colin] 3.8.0cvs25 + + * src/procmime.c + Fix inverted comparison in list_find_custom. + 2012-02-03 [wwp] 3.8.0cvs24 * src/gtk/progressdialog.c diff --git a/PATCHSETS b/PATCHSETS @@ -4341,3 +4341,4 @@ ( cvs diff -u -r 1.274.2.341 -r 1.274.2.342 src/mainwindow.c; ) > 3.8.0cvs22.patchset ( cvs diff -u -r 1.207.2.226 -r 1.207.2.227 src/folderview.c; ) > 3.8.0cvs23.patchset ( cvs diff -u -r 1.1.4.29 -r 1.1.4.30 src/gtk/progressdialog.c; ) > 3.8.0cvs24.patchset +( cvs diff -u -r 1.49.2.140 -r 1.49.2.141 src/procmime.c; ) > 3.8.0cvs25.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=8 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=24 +EXTRA_VERSION=25 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/procmime.c b/src/procmime.c @@ -1701,15 +1701,15 @@ static void parse_parameters(const gchar *parameters, GHashTable *table) 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)); }