mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Small fixes.
Added toxdns.h include to toxdns.c. Removed default "Online" status message.
This commit is contained in:
parent
f547ebee64
commit
888ebea619
@ -1858,8 +1858,6 @@ Messenger *new_messenger(uint8_t ipv6enabled)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_set_statusmessage(m, (uint8_t *)"Online", sizeof("Online"));
|
|
||||||
|
|
||||||
friendreq_init(&(m->fr), m->onion_c);
|
friendreq_init(&(m->fr), m->onion_c);
|
||||||
LANdiscovery_init(m->dht);
|
LANdiscovery_init(m->dht);
|
||||||
set_nospam(&(m->fr), random_int());
|
set_nospam(&(m->fr), random_int());
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../toxcore/Messenger.h"
|
#include "../toxcore/Messenger.h"
|
||||||
|
#include "toxdns.h"
|
||||||
|
|
||||||
static const char base32[32] = {"abcdefghijklmnopqrstuvwxyz012345"};
|
static const char base32[32] = {"abcdefghijklmnopqrstuvwxyz012345"};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user