diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-19 14:46:43 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-03-16 02:07:39 +0000 |
commit | fa8927aa0f90be1b15ef1d059c6f2ce81e2be8f5 (patch) | |
tree | 6de00f42ff8095d6736db4dc239f3476347972c1 /testing | |
parent | aa050954195f6323775ed68f4262edf2341c6953 (diff) |
Move struct DHT_Friend into DHT.c.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/DHT_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 496c855c..59856395 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -135,7 +135,7 @@ static void print_friendlist(DHT *dht) | |||
135 | printf("\nCLIENTS IN LIST:\n\n"); | 135 | printf("\nCLIENTS IN LIST:\n\n"); |
136 | 136 | ||
137 | for (i = 0; i < MAX_FRIEND_CLIENTS; i++) { | 137 | for (i = 0; i < MAX_FRIEND_CLIENTS; i++) { |
138 | const Client_data *client = &dht_get_friend(dht, k)->client_list[i]; | 138 | const Client_data *client = dht_friend_client(dht_get_friend(dht, k), i); |
139 | 139 | ||
140 | if (public_key_cmp(client->public_key, zeroes_cid) == 0) { | 140 | if (public_key_cmp(client->public_key, zeroes_cid) == 0) { |
141 | continue; | 141 | continue; |