diff options
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index f7c63ebcc0..d5466bf9ac 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -475,7 +475,7 @@ imap_parse_body (char **body_p, CamelFolder *folder, CamelContentType *type; int len; - if (*body++ != '(') { + if (!body || *body++ != '(') { *body_p = NULL; return; } |