aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-11-18 23:26:07 -0500
committerSamuel Johnson <[email protected]>2025-11-18 23:26:07 -0500
commite57054801bdfe47be697f2e5a55aad2c06c0730d (patch)
tree86a803a00b5f411b58c07d4d47e25c9ca707a6e7 /tests/tests.c
parent8518b3d1ac814837dbeed751112c1c9a66f86565 (diff)
Add query and question constructionfeat/query_construction
Diffstat (limited to 'tests/tests.c')
-rw-r--r--tests/tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests.c b/tests/tests.c
index 9ec1a84..d871f1d 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -7,7 +7,7 @@ void setUp (void)
{
struct dnsl_error error;
- if(dnsl_socket_init(&error) != 0)
+ if(dnsl_init(&error) != 0)
{
printf("Could not initialize sockets: [%d] %s\n", error.code, error.msg);
}
@@ -15,7 +15,7 @@ void setUp (void)
void tearDown (void)
{
- dnsl_socket_fini();
+ dnsl_fini();
}
int main (void)