Sfoglia il codice sorgente

[Minor] Add missing division

Pointed by: @moisseev
tags/3.2
Vsevolod Stakhov 2 anni fa
parent
commit
8ddf1aaca9
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/rspamd.c

+ 1
- 1
src/rspamd.c Vedi File

@@ -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);
}


Loading…
Annulla
Salva