summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-03 18:13:28 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-03 18:13:28 +0300
commit56379fcf26379a1588e3ca9ad4bdb1c7f370d2c7 (patch)
treedb67e8033ab548b55dac4cf68d245dcee0752684 /src/controller.c
parent064948fca0ca6b579c4494c18223c1ea2d68208a (diff)
downloadrspamd-56379fcf26379a1588e3ca9ad4bdb1c7f370d2c7.tar.gz
rspamd-56379fcf26379a1588e3ca9ad4bdb1c7f370d2c7.zip
* Another fixes to synchronization of statfiles
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/controller.c b/src/controller.c
index caa538823..6df3a220c 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -295,10 +295,6 @@ process_sync_command (struct controller_session *session, char **args)
return FALSE;
}
- if (rev == 0) {
- return write_whole_statfile (session, symbol, ccf);
- }
-
while (binlog_sync (binlog, rev, &time, &data)) {
r = snprintf (out_buf, sizeof (out_buf), "%lu %lu %lu" CRLF, (long unsigned)rev, (long unsigned)time, (long unsigned)data->len);
rspamd_dispatcher_write (session->dispatcher, out_buf, r, TRUE, FALSE);