summaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-03 16:49:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-03 16:49:21 +0000
commit381ae05de361712ae0c640596591f4ad2d8df397 (patch)
treebb4f0fd843dacd8c93069ee84fc56bb925e41628 /src/libserver
parent06cb63a5c6770c1814a4b137dc75ead78ddab864 (diff)
downloadrspamd-381ae05de361712ae0c640596591f4ad2d8df397.tar.gz
rspamd-381ae05de361712ae0c640596591f4ad2d8df397.zip
Fix build under Darwin.
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 2a43d0549..599d6e4ce 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -718,7 +718,7 @@ rspamd_metric_result_ucl (struct rspamd_task *task,
task->cfg->clock_res, &task->scan_milliseconds), task->dns_requests);
#else
rspamd_printf_gstring (logbuf, "]), len: %z, time: %s, dns req: %d,",
- task->msg->len,
+ task->msg.len,
calculate_check_time (&task->tv, task->cfg->clock_res,
&task->scan_milliseconds),
task->dns_requests);