aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtp_utils.c')
-rw-r--r--src/smtp_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp_utils.c b/src/smtp_utils.c
index 4f5e8d117..4c87b6382 100644
--- a/src/smtp_utils.c
+++ b/src/smtp_utils.c
@@ -184,10 +184,10 @@ smtp_metric_callback (gpointer key, gpointer value, gpointer ud)
#ifdef HAVE_CLOCK_GETTIME
cd->log_offset += rspamd_snprintf (cd->log_buf + cd->log_offset, cd->log_size - cd->log_offset, "]), len: %z, time: %s,",
- task->msg->len, calculate_check_time (&task->tv, &task->ts, task->cfg->clock_res));
+ task->msg->len, calculate_check_time (&task->tv, &task->ts, task->cfg->clock_res, &task->scan_milliseconds));
#else
cd->log_offset += rspamd_snprintf (cd->log_buf + cd->log_offset, cd->log_size - cd->log_offset, "]), len: %z, time: %s,",
- task->msg->len, calculate_check_time (&task->tv, task->cfg->clock_res));
+ task->msg->len, calculate_check_time (&task->tv, task->cfg->clock_res, &task->scan_milliseconds));
#endif
}