diff options
author | erdgeist <> | 2008-10-28 00:23:32 +0000 |
---|---|---|
committer | erdgeist <> | 2008-10-28 00:23:32 +0000 |
commit | 511a92e3212e7902d9a0f2fccc33f3c93055c2a8 (patch) | |
tree | e06092628c646f64cbe6e8d9b32ae6c817e142b1 /ot_stats.c | |
parent | 529919ac83732e2a5f03683c769fceff7f41f76a (diff) |
First vector has size 1, not 0 in debug vector
Diffstat (limited to 'ot_stats.c')
-rw-r--r-- | ot_stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | } |