First vector has size 1, not 0 in debug vector

dynamic-accesslists
erdgeist 16 years ago
parent 529919ac83
commit 511a92e321

@ -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