summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-06-26 08:32:42 -0400
committerirungentoo <irungentoo@gmail.com>2013-06-26 08:32:42 -0400
commitf7574c61fc935f514da4afd4994f86d8062efb38 (patch)
treea3e5ecab1a9a4edfca62a267be5484c21e570636 /core
parentd1837342e027d4587221f7a68b387d14f39cdd59 (diff)
Updated docs.
Diffstat (limited to 'core')
-rw-r--r--core/DHT.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/DHT.c b/core/DHT.c
index a8142974..6ecae785 100644
--- a/core/DHT.c
+++ b/core/DHT.c
@@ -61,6 +61,7 @@ int id_closest(char * client_id, char * client_id1, char * client_id2)//tested
61 61
62//check if client with client_id is already in list of length length. 62//check if client with client_id is already in list of length length.
63//if it is set it's corresponding timestamp to current time. 63//if it is set it's corresponding timestamp to current time.
64//if the ip_port is already in the list but associated to a different ip, change it.
64//return True(1) or False(0) 65//return True(1) or False(0)
65//TODO: maybe optimize this. 66//TODO: maybe optimize this.
66int client_in_list(Client_data * list, uint32_t length, char * client_id, IP_Port ip_port) 67int client_in_list(Client_data * list, uint32_t length, char * client_id, IP_Port ip_port)