mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed @ appearing in messages.
This commit is contained in:
parent
383630b3d4
commit
96b8cb1c43
|
@ -282,7 +282,7 @@ static void doFriends()
|
||||||
{
|
{
|
||||||
if(temp[0] == 64)
|
if(temp[0] == 64)
|
||||||
{
|
{
|
||||||
(*friend_message)(i, temp, len);
|
(*friend_message)(i, temp + 1, len - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
*
|
*
|
||||||
* A simple DHT boostrap server for tox.
|
* A simple DHT boostrap server for tox.
|
||||||
*
|
*
|
||||||
* Build command: gcc -O2 -Wall -D VANILLA_NACL -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/{cpucycles.o,libnacl.a,randombytes.o} DHT_bootstrap.c
|
* Build commands (use one or the other):
|
||||||
|
* gcc -O2 -Wall -D VANILLA_NACL -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/{cpucycles.o,libnacl.a,randombytes.o} DHT_bootstrap.c
|
||||||
*
|
*
|
||||||
|
* gcc -O2 -Wall -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c -lsodium DHT_bootstrap.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../core/DHT.h"
|
#include "../core/DHT.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user