aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-25 13:10:48 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-25 13:10:48 +0300
commitb539b432494cafe78c47a0fc13a289006c4a1b24 (patch)
treeef90a21ec435241f11e6354208853e915a03d5c8 /src/protocol.c
parent62aaf7da57503a257aecede98ba2ae2e1f2ee3e2 (diff)
downloadrspamd-b539b432494cafe78c47a0fc13a289006c4a1b24.tar.gz
rspamd-b539b432494cafe78c47a0fc13a289006c4a1b24.zip
* More accurate work with clock
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c
index c9e4925ff..3aeb46deb 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -486,8 +486,8 @@ show_metric_result (gpointer metric_name, gpointer metric_value, void *user_data
if (task->cmd == CMD_SYMBOLS && metric_value != NULL) {
show_metric_symbols (metric_res, cd);
}
- cd->log_offset += snprintf (cd->log_buf + cd->log_offset, cd->log_size - cd->log_offset, "] ), len: %ld, time: %ldms",
- (long int)task->msg->len, calculate_check_time (&task->ts));
+ cd->log_offset += snprintf (cd->log_buf + cd->log_offset, cd->log_size - cd->log_offset, "] ), len: %ld, time: %s",
+ (long int)task->msg->len, calculate_check_time (&task->ts, task->cfg->clock_res));
}
static int