diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-02 03:50:02 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-02 03:50:02 +0800 |
commit | 2c543492092832d71f1f677d52a42043c8787be7 (patch) | |
tree | 6ba93586355665bff1edf44616e5951550204f79 /camel/gmime-utils.c | |
parent | e9e83c971456616965b183ce1009ba849be69672 (diff) | |
download | gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar.gz gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar.bz2 gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar.lz gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar.xz gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.tar.zst gsoc2013-evolution-2c543492092832d71f1f677d52a42043c8787be7.zip |
do not return NULL when line is empty.
* camel/gmime-utils.c (gmime_read_line_from_stream):
do not return NULL when line is empty.
* camel/camel-multipart.c (_read_part): return true when end
of multipart is found, not the contrary
svn path=/trunk/; revision=1055
Diffstat (limited to 'camel/gmime-utils.c')
-rw-r--r-- | camel/gmime-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/gmime-utils.c b/camel/gmime-utils.c index 27cc6b9674..359f96380b 100644 --- a/camel/gmime-utils.c +++ b/camel/gmime-utils.c @@ -235,7 +235,7 @@ gmime_read_line_from_stream (CamelStream *stream) } else end_of_stream = TRUE; } while (!end_of_line && !end_of_stream); - if ( (new_line->str[0]) != '\0') + if (!end_of_stream) result = g_strdup (new_line->str); else result=NULL; g_string_free (new_line, TRUE); |