Fixed bug.

This commit is contained in:
irungentoo 2014-08-10 14:15:39 -04:00
parent f6955f2f3e
commit 0faa2fbad2
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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;
} }
/* /*