summaryrefslogtreecommitdiff
path: root/test/nsurl.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-07 00:05:05 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-07 00:05:30 +0100
commitccfc2aeefa87400d506a59799933ad591e7d92ca (patch)
tree106dd6646970a6e66f67f57263341ec80069c5d0 /test/nsurl.c
parentc38670ade8c664fa511cebb4b5d2950b12e7bf81 (diff)
downloadnetsurf-ccfc2aeefa87400d506a59799933ad591e7d92ca.tar.gz
netsurf-ccfc2aeefa87400d506a59799933ad591e7d92ca.tar.bz2
make nsurl unit test work again
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.");