diff options
author | Coren[m] <Break@Ocean> | 2013-09-16 10:37:22 +0200 |
---|---|---|
committer | Coren[m] <Break@Ocean> | 2013-09-16 10:37:22 +0200 |
commit | ab2805a23baad56d9efddada992d60fab3ed22af (patch) | |
tree | bb6e3ebe5c0f107d38920b8de363888c2ed652b4 /testing/DHT_test.c | |
parent | 7a69f2de287747eb31e143fd502951dd7d4ab2de (diff) |
Fix warnings of -Wall -Wextra
Diffstat (limited to 'testing/DHT_test.c')
-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 d76057c1..3cd1bce6 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -90,7 +90,7 @@ void print_friendlist(DHT *dht) | |||
90 | } | 90 | } |
91 | 91 | ||
92 | int friendok = DHT_getfriendip(dht, dht->friends_list[k].client_id, &p_ip); | 92 | int friendok = DHT_getfriendip(dht, dht->friends_list[k].client_id, &p_ip); |
93 | printf("\nIP: %s:%u", ip_ntoa(&p_ip.ip), ntohs(p_ip.port)); | 93 | printf("\nIP: %s:%u (%d)", ip_ntoa(&p_ip.ip), ntohs(p_ip.port), friendok); |
94 | 94 | ||
95 | printf("\nCLIENTS IN LIST:\n\n"); | 95 | printf("\nCLIENTS IN LIST:\n\n"); |
96 | 96 | ||