]> source.dussan.org Git - rspamd.git/commitdiff
Fix raw length obtaining for certain html parts
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 17 Nov 2015 15:33:59 +0000 (15:33 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 17 Nov 2015 16:12:42 +0000 (16:12 +0000)
src/lua/lua_mimepart.c

index dc97de3db4960ae7da6ca525bbfd9051794c1a15..ac277fd00542d3dcf83215c5c78c43f8ffe72f49 100644 (file)
@@ -315,7 +315,7 @@ lua_textpart_get_raw_length (lua_State * L)
                return 1;
        }
 
-       if (IS_PART_EMPTY (part) || part->orig == NULL) {
+       if (part->orig == NULL) {
                lua_pushnumber (L, 0);
        }
        else {