From 511a92e3212e7902d9a0f2fccc33f3c93055c2a8 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 28 Oct 2008 00:23:32 +0000 Subject: [PATCH] First vector has size 1, not 0 in debug vector --- ot_stats.c | 6 +++--- 1 file 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 ) { return 0; } if( !exactmatch ) { - vec_member[0] = peer_list->peers[j].size; - vec_member[1] = peer_list->peers[j].space; - vec_member[2] = 0; + vec_member[0] = peer_list->peers[j].size; + vec_member[1] = peer_list->peers[j].space; + vec_member[2] = 1; } else ++vec_member[2]; }