diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-21 19:14:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-21 19:14:24 +0100 |
commit | fa95a35f7a04ac8bd25218927a202fd0bed10a48 (patch) | |
tree | 58faba0c721697765c18d184bd707cbab466ac39 /src/libutil/rrd.c | |
parent | 989ccca1111fc9bdd38bb0b2b28c4dc5d6acd2c1 (diff) | |
download | rspamd-fa95a35f7a04ac8bd25218927a202fd0bed10a48.tar.gz rspamd-fa95a35f7a04ac8bd25218927a202fd0bed10a48.zip |
Add graph handler to the controller.
Diffstat (limited to 'src/libutil/rrd.c')
-rw-r--r-- | src/libutil/rrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/rrd.c b/src/libutil/rrd.c index 831e51630..f31a3138b 100644 --- a/src/libutil/rrd.c +++ b/src/libutil/rrd.c @@ -1323,6 +1323,7 @@ rspamd_rrd_query (struct rspamd_rrd_file *file, rra = &file->rra_def[i]; if (i == rra_num) { + res->cur_row = file->rra_ptr[i].cur_row % rra->row_cnt; break; } |