aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 16:38:07 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 16:38:07 +0200
commit51da994a563fd4746410f3b093fa7acb4fde3a20 (patch)
treef538b5d596cdce9cbb8303a97c2d09a0f0517048
parentcb9eb91b7271458210499420d0f78329868be34f (diff)
downloaddns-51da994a563fd4746410f3b093fa7acb4fde3a20.tar.gz
Fix tests/record.c
-rw-r--r--tests/record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/record.c b/tests/record.c
index f5c638b..896c04e 100644
--- a/tests/record.c
+++ b/tests/record.c
@@ -22,9 +22,9 @@ START_TEST (test_records_handler) {
void* rdata = NULL;
ssize_t len;
- len = record_rdata_from_str(&rdata, "69.69.69.68", record_class_from_str("A"));
+ len = record_rdata_from_str(&rdata, "69.69.69.68", record_type_from_str("A"));
ck_assert_int_eq(len,4);
- ck_assert_uint_eq(*((uint32_t*)rdata),0x45454544);
+ ck_assert_uint_eq(*((uint32_t*)rdata),0x44454545);
free(rdata);
}