diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 4 |
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)) { |