summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 36da8425..60d00225 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -120,7 +120,7 @@ enum {
120#define AVATAR_DATA_TRANSFER_LIMIT (10*AVATAR_MAX_DATA_LENGTH) 120#define AVATAR_DATA_TRANSFER_LIMIT (10*AVATAR_MAX_DATA_LENGTH)
121#define AVATAR_DATA_TRANSFER_TIMEOUT (60) /* 164kB every 60 seconds is not a lot */ 121#define AVATAR_DATA_TRANSFER_TIMEOUT (60) /* 164kB every 60 seconds is not a lot */
122 122
123#define FRIEND_DHT_TIMEOUT (5 * 60) /* Time before friend is removed from the DHT after last hearing about him. */ 123#define FRIEND_DHT_TIMEOUT BAD_NODE_TIMEOUT /* Time before friend is removed from the DHT after last hearing about him. */
124 124
125/* USERSTATUS - 125/* USERSTATUS -
126 * Represents userstatuses someone can have. 126 * Represents userstatuses someone can have.
@@ -201,7 +201,7 @@ typedef struct {
201 uint8_t dht_temp_pk[crypto_box_PUBLICKEYBYTES]; 201 uint8_t dht_temp_pk[crypto_box_PUBLICKEYBYTES];
202 uint16_t dht_lock; 202 uint16_t dht_lock;
203 IP_Port dht_ip_port; 203 IP_Port dht_ip_port;
204 uint64_t dht_ping_lastrecv; 204 uint64_t dht_ping_lastrecv, dht_ip_port_lastrecv;
205 205
206 uint32_t onion_friendnum; 206 uint32_t onion_friendnum;
207 int crypt_connection_id; 207 int crypt_connection_id;