diff options
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h index c7fddb4f..ea94e4ca 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h | |||
@@ -306,7 +306,7 @@ uint16_t closelist_nodes(DHT *dht, Node_format *nodes, uint16_t max_num); | |||
306 | * | 306 | * |
307 | * NOTE:this is used to pick nodes for paths. | 307 | * NOTE:this is used to pick nodes for paths. |
308 | */ | 308 | */ |
309 | uint16_t random_nodes_path(DHT *dht, Node_format *nodes, uint16_t max_num); | 309 | uint16_t random_nodes_path(const DHT *dht, Node_format *nodes, uint16_t max_num); |
310 | 310 | ||
311 | /* Run this function at least a couple times per second (It's the main loop). */ | 311 | /* Run this function at least a couple times per second (It's the main loop). */ |
312 | void do_DHT(DHT *dht); | 312 | void do_DHT(DHT *dht); |