diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 06:37:37 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 06:37:37 +0000 |
commit | 5f3e6b4ed3ab6e5e7de2d991e81b42d91a50a83e (patch) | |
tree | 0622ff1d34b2f56d08d546ca46b7205a47a6ad59 | |
parent | 8e6db027fbf2f65ccf54767179d8b13ef7678427 (diff) |
libsylph/procmime.c: procmime_scan_multipart_message(): fixed MIME nest level restriction not working.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3307 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libsylph/procmime.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2013-11-28 + * libsylph/procmime.c: procmime_scan_multipart_message(): fixed MIME + nest level restriction not working. + +2013-11-28 + * libsylph/ssl.c: ssl_done(): check if fp != NULL. * src/textview.c: textview_popup_menu_activate_open_uri_cb(): diff --git a/libsylph/procmime.c b/libsylph/procmime.c index 86192599..298c3cf9 100644 --- a/libsylph/procmime.c +++ b/libsylph/procmime.c @@ -328,10 +328,11 @@ void procmime_scan_multipart_message(MimeInfo *mimeinfo, FILE *fp) if (partinfo->mime_type == MIME_MULTIPART || partinfo->mime_type == MIME_MESSAGE_RFC822) { - if (partinfo->level < MAX_MIME_LEVEL) + if (partinfo->level < MAX_MIME_LEVEL) { mime_debug_print("\n"); mime_debug_print("enter to child part:\n"); procmime_scan_multipart_message(partinfo, fp); + } } /* look for next boundary */ |