summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2008-10-28 00:23:32 +0000
committererdgeist <>2008-10-28 00:23:32 +0000
commit511a92e3212e7902d9a0f2fccc33f3c93055c2a8 (patch)
treee06092628c646f64cbe6e8d9b32ae6c817e142b1 /ot_stats.c
parent529919ac83732e2a5f03683c769fceff7f41f76a (diff)
First vector has size 1, not 0 in debug vector
Diffstat (limited to 'ot_stats.c')
-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 }