From ccfc2aeefa87400d506a59799933ad591e7d92ca Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 7 Jul 2015 00:05:05 +0100 Subject: make nsurl unit test work again --- test/nsurl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/nsurl.c') diff --git a/test/nsurl.c b/test/nsurl.c index 891e5c91e..2afe91b6d 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -213,7 +213,7 @@ static const struct test_triplets replace_query_tests[] = { /** * Test nsurl */ -int main(void) +int main(int argc, char **argv) { nsurl *base; nsurl *joined; @@ -227,6 +227,7 @@ int main(void) nserror err; verbose_log = true; + nslog_init(NULL, &argc, argv); if (corestrings_init() != NSERROR_OK) { assert(0 && "Failed to init corestrings."); -- cgit v1.2.3