diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-30 17:39:10 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-30 17:39:10 +0400 |
commit | 17b59dcc033cf8627a057b76b4cfc2735d9d1c82 (patch) | |
tree | f18a9866f7c842ffa0ccd17a4baf374959be5151 /src/message.c | |
parent | e7f2df7d45962a98f5caeb5c664fc6c1310f3112 (diff) | |
download | rspamd-17b59dcc033cf8627a057b76b4cfc2735d9d1c82.tar.gz rspamd-17b59dcc033cf8627a057b76b4cfc2735d9d1c82.zip |
* Fix some more bugs with empty parts
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index 643ac1710..c4027ef14 100644 --- a/src/message.c +++ b/src/message.c @@ -653,7 +653,7 @@ mime_foreach_callback (GMimeObject *part, gpointer user_data) msg_debug ("mime_foreach_callback: found part with content-type: %s/%s", type->type, type->subtype); task->parts = g_list_prepend (task->parts, mime_part); /* Skip empty parts */ - process_text_part (task, part_content, type, (part_content->len > 0)); + process_text_part (task, part_content, type, (part_content->len <= 0)); } else { msg_warn ("mime_foreach_callback: write to stream failed: %d, %s", errno, strerror (errno)); |