mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed bug.
This commit is contained in:
parent
f6955f2f3e
commit
0faa2fbad2
|
@ -73,7 +73,7 @@ static uint16_t random_nodes_path_onion(const Onion_Client *onion_c, Node_format
|
||||||
nodes[i] = onion_c->path_nodes[rand() % num_nodes];
|
nodes[i] = onion_c->path_nodes[rand() % num_nodes];
|
||||||
}
|
}
|
||||||
|
|
||||||
return num_nodes;
|
return max_num;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user