diff options
author | Diadlo <polsha3@gmail.com> | 2017-03-02 23:15:51 +0300 |
---|---|---|
committer | Diadlo <polsha3@gmail.com> | 2017-08-24 20:09:08 +0300 |
commit | 66b8a7685e8fdecd6104f01f840f5d792ce1e041 (patch) | |
tree | 7c65281aefeb21c55ba422ff7d9587675eeb7070 /testing/dns3_test.c | |
parent | 8f19c926c0d5231ede61a831050664103e54000e (diff) |
AF_INET -> TOX_AF_INET
Diffstat (limited to 'testing/dns3_test.c')
-rw-r--r-- | testing/dns3_test.c | 2 |
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)) { |