aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-24 01:17:31 +0800
committerDan Winship <danw@src.gnome.org>2000-04-24 01:17:31 +0800
commitac902006634443021aed5bc217af74911bde8e65 (patch)
tree0583092b2afe9665b53549237e87163654ea8ce1 /camel
parent4c1c537e19a6397fc4b3418e5db6eea4239ab741 (diff)
downloadgsoc2013-evolution-ac902006634443021aed5bc217af74911bde8e65.tar.gz
gsoc2013-evolution-ac902006634443021aed5bc217af74911bde8e65.tar.zst
gsoc2013-evolution-ac902006634443021aed5bc217af74911bde8e65.zip
fix some obvious minor bugs noted by -Wall.
* camel-mime-utils.c (header_to_decode, header_mime_decode): fix some obvious minor bugs noted by -Wall. svn path=/trunk/; revision=2563
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-utils.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 57def807c2..e49dbb06e1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-23 Dan Winship <danw@helixcode.com>
+
+ * camel-mime-utils.c (header_to_decode, header_mime_decode): fix
+ some obvious minor bugs noted by -Wall.
+
2000-04-23 NotZed <NotZed@HelixCode.com>
* camel-data-wrapper.c (set_mime_type_field): Ref the
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 25970e58a0..f9e2389fee 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -1491,7 +1491,7 @@ header_to_decode(const char *in)
#warning header_to_decode needs to return some structure
if (in == NULL)
- return NULL;
+ return;
do {
last = inptr;
@@ -1523,7 +1523,7 @@ header_mime_decode(const char *in)
#warning header_mime_decode needs to return the version
if (in == NULL)
- return NULL;
+ return;
header_decode_lwsp(&inptr);
if (isdigit(*inptr)) {