if (!skip_existing) {
g_ptr_array_add (res, io);
}
-
- g_ptr_array_add (res, io);
}
if (rule->fuzzy_images) {
if (!skip_existing) {
g_ptr_array_add (res, io);
}
-
- g_ptr_array_add (res, io);
}
}
}
if (G_LIKELY (!(flags & FUZZY_CHECK_FLAG_NOIMAGES))) {
if (mime_part->ct &&
- !(mime_part->flags & RSPAMD_MIME_PART_TEXT) &&
+ !(mime_part->flags & RSPAMD_MIME_PART_TEXT|RSPAMD_MIME_PART_IMAGE) &&
mime_part->parsed_data.len > 0 &&
fuzzy_check_content_type (rule, mime_part->ct)) {
if (fuzzy_module_ctx->min_bytes <= 0 || mime_part->parsed_data.len >=
if (!skip_existing) {
g_ptr_array_add (res, io);
}
-
- g_ptr_array_add (res, io);
}
}
}