From 1577a1eb61b6e2839aec962025d78e8703be3661 Mon Sep 17 00:00:00 2001 From: SilentSand Date: Fri, 26 Jul 2013 04:08:39 -0400 Subject: Minor screwup fixed I sure wish it was easier to compile on Windows. --- core/DHT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/DHT.c b/core/DHT.c index 3fca85e6..857ac5e8 100644 --- a/core/DHT.c +++ b/core/DHT.c @@ -756,7 +756,7 @@ IP_Port DHT_getfriendip(uint8_t * client_id) uint32_t temp_time = unix_time(); for(i = 0; i < num_friends; ++i) { /* Equal */ - if(memcmp(friends_list[i].client_id, client_id, CLIENT_ID_SIZE) == 0)1 { + if(memcmp(friends_list[i].client_id, client_id, CLIENT_ID_SIZE) == 0) { for(j = 0; j < MAX_FRIEND_CLIENTS; ++j) { if(memcmp(friends_list[i].client_list[j].client_id, client_id, CLIENT_ID_SIZE) == 0 && friends_list[i].client_list[j].timestamp + BAD_NODE_TIMEOUT > temp_time) { -- cgit v1.2.3