Author: Christoph Lohmann <firstname.lastname@example.org>
Date: Tue, 8 Mar 2011 02:48:21 +0100
Correcting the function description.
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dht.h b/dht.h
@@ -99,13 +99,12 @@ dhtlist_t *dhtrouting_findclosest(dhtrouting_t *route, dhtnode_t *target,
* These are the high-level functions for dht handling.
dht_t *dht_new(char *network); /* network is a unique identifier */
void dht_free(dht_t *dht);
- * This function will get you a dhtlist with a maximum of max elements,
- * which are the closest nodes to your position.
+ * This function will return a list of nodes, with a maximum of max entries,
+ * which are close to the target node and known by you.
dhtlist_t *dht_find(dht_t *dht, dhtnode_t *target, int max);