aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libsylph/procmime.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 02dac2ec..f7e2bacf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */