diff options
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index f296426f..018526f4 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -73,7 +73,7 @@ static uint16_t random_nodes_path_onion(const Onion_Client *onion_c, Node_format | |||
73 | nodes[i] = onion_c->path_nodes[rand() % num_nodes]; | 73 | nodes[i] = onion_c->path_nodes[rand() % num_nodes]; |
74 | } | 74 | } |
75 | 75 | ||
76 | return num_nodes; | 76 | return max_num; |
77 | } | 77 | } |
78 | 78 | ||
79 | /* | 79 | /* |