diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-13 04:25:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-13 04:25:19 +0000 |
commit | 0ea184b3da8bcf2e614fb09af789f0b847e123a9 (patch) | |
tree | d4934a49e6ddbf632446a99ad84305d1796a6ee9 /libsylph/procmime.c | |
parent | ec14e81935047bd2b2182595b76650b5f2fef893 (diff) |
message/partial: allow Content-Type without total parameter.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2609 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmime.c')
-rw-r--r-- | libsylph/procmime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/procmime.c b/libsylph/procmime.c index 2789563f..dfbda477 100644 --- a/libsylph/procmime.c +++ b/libsylph/procmime.c @@ -770,7 +770,7 @@ void procmime_scan_content_type_partial(const gchar *content_type, procmime_mime_params_free(mparams); - if (t > 0 && n > 0 && t >= n && id_str) { + if (n > 0 && (t == 0 || t >= n) && id_str) { *total = t; *part_id = id_str; *number = n; |