From: Timo Sirainen Date: Wed, 15 Jan 2014 20:57:50 +0000 (-0500) Subject: stats plugin: Fixed updating clock_time X-Git-Tag: 2.2.11~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77bd459e2d44177c389067fff3e2b56003817db8;p=thirdparty%2Fdovecot%2Fcore.git stats plugin: Fixed updating clock_time --- diff --git a/src/plugins/stats/stats-plugin.c b/src/plugins/stats/stats-plugin.c index 4345a971c5..d9890c9f43 100644 --- a/src/plugins/stats/stats-plugin.c +++ b/src/plugins/stats/stats-plugin.c @@ -211,6 +211,8 @@ static void stats_io_activate(void *context) it to NULL. when we get back to one user we'll need to set the global user again somewhere. do it here. */ stats_global_user = user; + /* skip time spent waiting in ioloop */ + suser->pre_io_stats.clock_time = ioloop_timeval; } else { i_assert(stats_global_user == NULL);