diff options
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)) { |