diff options
author | irungentoo <irungentoo@gmail.com> | 2014-05-16 17:50:26 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-05-16 17:50:26 -0400 |
commit | 86c191c2d4d4721f93067565b078b9d691a61c00 (patch) | |
tree | afd85a2ce3ce8da5470ac4a9ee4df52daf30c37d /toxcore | |
parent | 3ab05b6e2ed9392e20ec711b835b6a1f20980c0a (diff) |
Fixed typo.
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Messenger.c | 2 | ||||
-rw-r--r-- | toxcore/net_crypto.c | 2 | ||||
-rw-r--r-- | toxcore/net_crypto.h | 2 |
3 files changed, 3 insertions, 3 deletions
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) | |||
2203 | uint8_t dht_public_key[crypto_box_PUBLICKEYBYTES]; | 2203 | uint8_t dht_public_key[crypto_box_PUBLICKEYBYTES]; |
2204 | 2204 | ||
2205 | if (onion_getfriend_DHT_pubkey(m->onion_c, m->friendlist[i].onion_friendnum, dht_public_key) == 0) { | 2205 | if (onion_getfriend_DHT_pubkey(m->onion_c, m->friendlist[i].onion_friendnum, dht_public_key) == 0) { |
2206 | set_conection_dht_public_key(m->net_crypto, m->friendlist[i].crypt_connection_id, dht_public_key); | 2206 | set_connection_dht_public_key(m->net_crypto, m->friendlist[i].crypt_connection_id, dht_public_key); |
2207 | } | 2207 | } |
2208 | 2208 | ||
2209 | uint8_t direct_connected; | 2209 | 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) | |||
1454 | * return -1 on failure. | 1454 | * return -1 on failure. |
1455 | * return 0 on success. | 1455 | * return 0 on success. |
1456 | */ | 1456 | */ |
1457 | int set_conection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key) | 1457 | int set_connection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key) |
1458 | { | 1458 | { |
1459 | Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id); | 1459 | Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id); |
1460 | 1460 | ||
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); | |||
189 | * return -1 on failure. | 189 | * return -1 on failure. |
190 | * return 0 on success. | 190 | * return 0 on success. |
191 | */ | 191 | */ |
192 | int set_conection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key); | 192 | int set_connection_dht_public_key(Net_Crypto *c, int crypt_connection_id, uint8_t *dht_public_key); |
193 | 193 | ||
194 | /* Set the direct ip of the crypto connection. | 194 | /* Set the direct ip of the crypto connection. |
195 | * | 195 | * |