From 0c294915ae4266b4f3621f2138d0f5bd0975c491 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Tue, 29 Dec 2009 20:08:01 +0000 Subject: [PATCH] fix tests after patch in #88 --- tests/encoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/encoding.c b/tests/encoding.c index 38e8fab..a323411 100644 --- a/tests/encoding.c +++ b/tests/encoding.c @@ -86,7 +86,7 @@ START_TEST(test_build_hostname) buflen = sizeof(buf); for (i = 1; i < sizeof(data); i++) { - int len = build_hostname(buf, buflen, data, i, topdomain, get_base32_encoder()); + int len = build_hostname(buf, buflen, data, i, topdomain, get_base32_encoder(), sizeof(buflen)); fail_if(len > i); fail_if(strstr(buf, ".."), "Found double dots when encoding data len %d! buf: %s", i, buf);