mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' of https://github.com/tux3/toxcore
# # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
This commit is contained in:
commit
70869b601e
|
@ -2331,6 +2331,8 @@ void kill_DHT(DHT *dht)
|
|||
ping_array_free_all(&dht->dht_harden_ping_array);
|
||||
kill_ping(dht->ping);
|
||||
free(dht->friends_list);
|
||||
free(dht->loaded_friends_list);
|
||||
free(dht->loaded_clients_list);
|
||||
free(dht);
|
||||
}
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ static int is_path_used(const Onion_Client_Paths *onion_paths, const Node_format
|
|||
}
|
||||
|
||||
/* Create a new path or use an old suitable one (if pathnum is valid)
|
||||
* or a rondom one from onion_paths.
|
||||
* or a random one from onion_paths.
|
||||
*
|
||||
* return -1 on failure
|
||||
* return 0 on success
|
||||
|
|
Loading…
Reference in New Issue
Block a user