Browse Source

First vector has size 1, not 0 in debug vector

dynamic-accesslists
erdgeist 16 years ago
parent
commit
511a92e321
  1. 2
      ot_stats.c

2
ot_stats.c

@ -318,7 +318,7 @@ static ssize_t stats_vector_usage( char * reply ) { @@ -318,7 +318,7 @@ static ssize_t stats_vector_usage( char * reply ) {
if( !exactmatch ) {
vec_member[0] = peer_list->peers[j].size;
vec_member[1] = peer_list->peers[j].space;
vec_member[2] = 0;
vec_member[2] = 1;
} else
++vec_member[2];
}

Loading…
Cancel
Save