summaryrefslogtreecommitdiff
path: root/test/nsurl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nsurl.c')
-rw-r--r--test/nsurl.c3
1 files changed, 2 insertions, 1 deletions
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.");