summaryrefslogtreecommitdiff
path: root/testing
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 /testing
parent8f19c926c0d5231ede61a831050664103e54000e (diff)
AF_INET -> TOX_AF_INET
Diffstat (limited to 'testing')
-rw-r--r--testing/dns3_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/dns3_test.c b/testing/dns3_test.c
index 4c03fc52..0df7ace2 100644
--- a/testing/dns3_test.c
+++ b/testing/dns3_test.c
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
40 } 40 }
41 41
42 IP ip = {0}; 42 IP ip = {0};
43 ip.family = AF_INET; 43 ip.family = TOX_AF_INET;
44 Socket sock = net_socket(ip.family, TOX_SOCK_DGRAM, TOX_PROTO_UDP); 44 Socket sock = net_socket(ip.family, TOX_SOCK_DGRAM, TOX_PROTO_UDP);
45 45
46 if (!sock_valid(sock)) { 46 if (!sock_valid(sock)) {