summaryrefslogtreecommitdiff
path: root/ot_livesync.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_livesync.c')
-rw-r--r--ot_livesync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ot_livesync.c b/ot_livesync.c
index f6e4e51..1b1efe0 100644
--- a/ot_livesync.c
+++ b/ot_livesync.c
@@ -17,6 +17,7 @@
17#include "trackerlogic.h" 17#include "trackerlogic.h"
18#include "ot_livesync.h" 18#include "ot_livesync.h"
19#include "ot_accesslist.h" 19#include "ot_accesslist.h"
20#include "ot_stats.h"
20 21
21#ifdef WANT_SYNC_LIVE 22#ifdef WANT_SYNC_LIVE
22 23
@@ -152,6 +153,8 @@ static void * livesync_worker( void * args ) {
152 153
153 off += sizeof( ot_hash ) + sizeof( ot_peer ); 154 off += sizeof( ot_hash ) + sizeof( ot_peer );
154 } 155 }
156
157 stats_issue_event(EVENT_SYNC, 0, datalen / ((ssize_t)sizeof( ot_hash ) + (ssize_t)sizeof( ot_peer )));
155 } 158 }
156 /* Never returns. */ 159 /* Never returns. */
157 return NULL; 160 return NULL;