]> source.dussan.org Git - rspamd.git/commitdiff
Fix build under Darwin.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Mar 2015 16:49:21 +0000 (16:49 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Mar 2015 16:49:21 +0000 (16:49 +0000)
src/libserver/protocol.c

index 2a43d054932565c66e51b25a732d035dbc40f685..599d6e4ce6e2e4f5478567e42891b84534f1f67e 100644 (file)
@@ -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);