summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 1f5553a..30eb914 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -316,9 +316,9 @@ static ssize_t stats_vector_usage( char * reply ) {
316 return 0; 316 return 0;
317 } 317 }
318 if( !exactmatch ) { 318 if( !exactmatch ) {
319 vec_member[0] = peer_list->peers[j].size; 319 vec_member[0] = peer_list->peers[j].size;
320 vec_member[1] = peer_list->peers[j].space; 320 vec_member[1] = peer_list->peers[j].space;
321 vec_member[2] = 0; 321 vec_member[2] = 1;
322 } else 322 } else
323 ++vec_member[2]; 323 ++vec_member[2];
324 } 324 }