diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-09-21 16:38:07 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-09-21 16:38:07 +0200 |
commit | 51da994a563fd4746410f3b093fa7acb4fde3a20 (patch) | |
tree | f538b5d596cdce9cbb8303a97c2d09a0f0517048 /tests/record.c | |
parent | cb9eb91b7271458210499420d0f78329868be34f (diff) | |
download | dns-51da994a563fd4746410f3b093fa7acb4fde3a20.tar.gz |
Fix tests/record.c
Diffstat (limited to 'tests/record.c')
-rw-r--r-- | tests/record.c | 4 |
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); } |