aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gstring-util.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-06-23 00:12:27 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-23 00:12:27 +0800
commit7f81757d52326126f88e898241dc40c1668f5164 (patch)
treece4f1671ce7d1280f8b1a375c15bbc79bd87cad9 /camel/gstring-util.c
parent5deed2f193e7ab91f159f1a764b78578861044cd (diff)
downloadgsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.tar.gz
gsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.tar.zst
gsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.zip
moved all the content-type stuff here. (camel_data_wrapper_init):
1999-06-22 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-data-wrapper.c (_get_content_type): moved all the content-type stuff here. (camel_data_wrapper_init): initialize the instance content-type field. * camel/camel-mime-part.c (_parse_header_pair): parse Content-Type stuff in header. (_write_to_stream): write the content type stuff to the stream. svn path=/trunk/; revision=985
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)