summaryrefslogtreecommitdiff
path: root/toxcore/friend_connection.c
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2017-03-02 23:15:51 +0300
committerDiadlo <polsha3@gmail.com>2017-08-24 20:09:08 +0300
commit66b8a7685e8fdecd6104f01f840f5d792ce1e041 (patch)
tree7c65281aefeb21c55ba422ff7d9587675eeb7070 /toxcore/friend_connection.c
parent8f19c926c0d5231ede61a831050664103e54000e (diff)
AF_INET -> TOX_AF_INET
Diffstat (limited to 'toxcore/friend_connection.c')
-rw-r--r--toxcore/friend_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c
index 0fbae406..ccf1621f 100644
--- a/toxcore/friend_connection.c
+++ b/toxcore/friend_connection.c
@@ -511,7 +511,7 @@ static int handle_new_connections(void *object, New_Connection *n_c)
511 connection_lossy_data_handler(fr_c->net_crypto, id, &handle_lossy_packet, fr_c, friendcon_id); 511 connection_lossy_data_handler(fr_c->net_crypto, id, &handle_lossy_packet, fr_c, friendcon_id);
512 friend_con->crypt_connection_id = id; 512 friend_con->crypt_connection_id = id;
513 513
514 if (n_c->source.ip.family != AF_INET && n_c->source.ip.family != AF_INET6) { 514 if (n_c->source.ip.family != TOX_AF_INET && n_c->source.ip.family != TOX_AF_INET6) {
515 set_direct_ip_port(fr_c->net_crypto, friend_con->crypt_connection_id, friend_con->dht_ip_port, 0); 515 set_direct_ip_port(fr_c->net_crypto, friend_con->crypt_connection_id, friend_con->dht_ip_port, 0);
516 } else { 516 } else {
517 friend_con->dht_ip_port = n_c->source; 517 friend_con->dht_ip_port = n_c->source;