summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/DHT.c2
-rw-r--r--toxcore/group_chats.h8
2 files changed, 2 insertions, 8 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 0bbacc90..2583b891 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -50,7 +50,7 @@
50#define PING_INTERVAL 60 50#define PING_INTERVAL 60
51 51
52/* Ping interval in seconds for each random sending of a get nodes request. */ 52/* Ping interval in seconds for each random sending of a get nodes request. */
53#define GET_NODE_INTERVAL 10 53#define GET_NODE_INTERVAL 5
54 54
55#define MAX_PUNCHING_PORTS 128 55#define MAX_PUNCHING_PORTS 128
56 56
diff --git a/toxcore/group_chats.h b/toxcore/group_chats.h
index e45f2af2..33f0b1e6 100644
--- a/toxcore/group_chats.h
+++ b/toxcore/group_chats.h
@@ -27,10 +27,6 @@
27 27
28#include "net_crypto.h" 28#include "net_crypto.h"
29 29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#define MAX_NICK_BYTES 128 30#define MAX_NICK_BYTES 128
35 31
36typedef struct { 32typedef struct {
@@ -130,8 +126,6 @@ int handle_groupchatpacket(Group_Chat *chat, IP_Port source, uint8_t *packet, ui
130 126
131void chat_bootstrap(Group_Chat *chat, IP_Port ip_port, uint8_t *client_id); 127void chat_bootstrap(Group_Chat *chat, IP_Port ip_port, uint8_t *client_id);
132void chat_bootstrap_nonlazy(Group_Chat *chat, IP_Port ip_port, uint8_t *client_id); 128void chat_bootstrap_nonlazy(Group_Chat *chat, IP_Port ip_port, uint8_t *client_id);
133#ifdef __cplusplus 129
134}
135#endif
136 130
137#endif 131#endif