diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-02-27 09:49:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-02-27 09:49:49 +0000 |
commit | 8ddf1aaca978c045a14f82e5f7dcd3d8ca083afb (patch) | |
tree | 0ba8fedf5abe966b4c9b1cf92674977fe209aa75 /src | |
parent | 4a5f9c2d9182dff86ff3267d15c418f2db4e40c5 (diff) | |
download | rspamd-8ddf1aaca978c045a14f82e5f7dcd3d8ca083afb.tar.gz rspamd-8ddf1aaca978c045a14f82e5f7dcd3d8ca083afb.zip |
[Minor] Add missing division
Pointed by: @moisseev
Diffstat (limited to 'src')
-rw-r--r-- | src/rspamd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 8f33ccc48..d1eaa205d 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1127,7 +1127,7 @@ rspamd_stat_update_handler (struct ev_loop *loop, ev_timer *w, int revents) rate, (new_spam - old_spam) / w->repeat, (new_ham - old_ham) / w->repeat, - cnt > 0 ? sum : 0); + cnt > 0 ? sum / cnt : 0); setproctitle (proctitle); } |