From 381ae05de361712ae0c640596591f4ad2d8df397 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 3 Mar 2015 16:49:21 +0000 Subject: [PATCH] Fix build under Darwin. --- src/libserver/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5