aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/smtp_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 09:52:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 09:52:33 +0000
commite80283ac81f3677ed70f084275f157781d0ebba1 (patch)
tree05f0b7031d77c6ba21c0f8e3534732a8156a1801 /src/libmime/smtp_utils.c
parentdf90d44aeb215957fec60c4f526c6b070271fd98 (diff)
downloadrspamd-e80283ac81f3677ed70f084275f157781d0ebba1.tar.gz
rspamd-e80283ac81f3677ed70f084275f157781d0ebba1.zip
Save some space inside rspamd task by using bit flags.
Diffstat (limited to 'src/libmime/smtp_utils.c')
-rw-r--r--src/libmime/smtp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/smtp_utils.c b/src/libmime/smtp_utils.c
index a5a2f26ef..5a8683d7b 100644
--- a/src/libmime/smtp_utils.c
+++ b/src/libmime/smtp_utils.c
@@ -179,7 +179,7 @@ smtp_metric_callback (gpointer key, gpointer value, gpointer ud)
cd->res = metric_res;
}
- if (!task->is_skipped) {
+ if (!RSPAMD_TASK_IS_SKIPPED (task)) {
cd->log_offset += rspamd_snprintf (cd->log_buf + cd->log_offset,
cd->log_size - cd->log_offset,
"(%s: %c (%s): [%.2f/%.2f/%.2f] [",