diff options
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index e68b6329..ff21659b 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -635,7 +635,7 @@ static void do_friend(Onion_Client *onion_c, uint16_t friendnum) | |||
635 | 635 | ||
636 | /* send packets to friend telling them our fake DHT id. */ | 636 | /* send packets to friend telling them our fake DHT id. */ |
637 | if (is_timeout(onion_c->friends_list[friendnum].last_fakeid_sent, ONION_FAKEID_INTERVAL)) | 637 | if (is_timeout(onion_c->friends_list[friendnum].last_fakeid_sent, ONION_FAKEID_INTERVAL)) |
638 | if (send_fakeid_announce(onion_c, friendnum) > 3) | 638 | if (send_fakeid_announce(onion_c, friendnum) > 1) |
639 | onion_c->friends_list[friendnum].last_fakeid_sent = unix_time(); | 639 | onion_c->friends_list[friendnum].last_fakeid_sent = unix_time(); |
640 | } | 640 | } |
641 | /* Function to call when onion data packet with contents beginning with byte is received. */ | 641 | /* Function to call when onion data packet with contents beginning with byte is received. */ |