From 86c191c2d4d4721f93067565b078b9d691a61c00 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 16 May 2014 17:50:26 -0400 Subject: Fixed typo. --- toxcore/Messenger.c | 2 +- toxcore/net_crypto.c | 2 +- toxcore/net_crypto.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'toxcore') diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 267670f9..b5ce2e7e 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c @@ -2203,7 +2203,7 @@ void do_friends(Messenger *m) uint8_t dht_public_key[crypto_box_PUBLICKEYBYTES]; if (onion_getfriend_DHT_pubkey(m->onion_c, m->friendlist[i].onion_friendnum, dht_public_key) == 0) { - set_conection_dht_public_key(m->net_crypto, m->friendlist[i].crypt_connection_id, dht_public_key); + set_connection_dht_public_key(m->net_crypto, m->friendlist[i].crypt_connection_id, dht_public_key); } uint8_t direct_connected; diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 56ff1bdd..6b975fe2 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c @@ -1454,7 +1454,7 @@ static int connect_peer_tcp(Net_Crypto *c, int crypt_connection_id) * return -1 on failure. * return 0 on success. */ -int set_conection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key) +int set_connection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key) { Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id); diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h index 22b23401..e55427f2 100644 --- a/toxcore/net_crypto.h +++ b/toxcore/net_crypto.h @@ -189,7 +189,7 @@ int new_crypto_connection(Net_Crypto *c, uint8_t *real_public_key); * return -1 on failure. * return 0 on success. */ -int set_conection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key); +int set_connection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key); /* Set the direct ip of the crypto connection. * -- cgit v1.2.3