From 0fd3d9e62ed3c90d76f388326e7396c57a21c076 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 4 Feb 2007 22:11:00 +0000 Subject: [PATCH] #3 Make testcases compile. They still need to be adjusted to the new way of working --- tests/dns.c | 2 +- tests/encoding.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dns.c b/tests/dns.c index fd3d4ce..828876b 100644 --- a/tests/dns.c +++ b/tests/dns.c @@ -127,7 +127,7 @@ START_TEST(test_encode_query) q.id = 1337; d = resolv; - encode_data(queryData, strlen(queryData), 100, d, 'A'); + encode_data(queryData, strlen(queryData), 100, d); pos = strlen(resolv); d += pos; if (*d != '.') { diff --git a/tests/encoding.c b/tests/encoding.c index ee0dd3a..e1a30b0 100644 --- a/tests/encoding.c +++ b/tests/encoding.c @@ -35,7 +35,7 @@ START_TEST(test_encoding_base32) end = malloc(16); memset(end, 0, 16); - codedlength = encode_data(start, 9, 256, temp, 0); + codedlength = encode_data(start, 9, 256, temp); tempend = temp + strlen(temp); decode_data(end, 16, temp, tempend);