aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gstring-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/gstring-util.c')
-rw-r--r--camel/gstring-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/gstring-util.c b/camel/gstring-util.c
index b8a92ce10f..c48a98d410 100644
--- a/camel/gstring-util.c
+++ b/camel/gstring-util.c
@@ -318,7 +318,7 @@ g_string_trim (GString *string, gchar *chars, TrimOption options)
CAMEL_LOG (FULL_DEBUG,"g_string_trim:: trim_options:%d\n", options);
if (options & TRIM_STRIP_LEADING)
- while ( (first_ok <= last_ok) && (strchr (chars, str[first_ok]) != NULL) )
+ while ( (first_ok <= last_ok) && (strchr (chars, str[first_ok])) )
first_ok++;
if (options & TRIM_STRIP_TRAILING)