1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-12-01 17:36:10 +03:00

#3 Make testcases compile. They still need to be adjusted to the new way of working

This commit is contained in:
Erik Ekman 2007-02-04 22:11:00 +00:00
parent b45dc25226
commit 0fd3d9e62e
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ START_TEST(test_encode_query)
q.id = 1337; q.id = 1337;
d = resolv; d = resolv;
encode_data(queryData, strlen(queryData), 100, d, 'A'); encode_data(queryData, strlen(queryData), 100, d);
pos = strlen(resolv); pos = strlen(resolv);
d += pos; d += pos;
if (*d != '.') { if (*d != '.') {

View File

@ -35,7 +35,7 @@ START_TEST(test_encoding_base32)
end = malloc(16); end = malloc(16);
memset(end, 0, 16); memset(end, 0, 16);
codedlength = encode_data(start, 9, 256, temp, 0); codedlength = encode_data(start, 9, 256, temp);
tempend = temp + strlen(temp); tempend = temp + strlen(temp);
decode_data(end, 16, temp, tempend); decode_data(end, 16, temp, tempend);