tests: fix compilation with new eloop API
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 16 Feb 2013 20:41:02 +0000 (21:41 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 16 Feb 2013 20:41:02 +0000 (21:41 +0100)
We added llog-data pointers so fix the tests helpers to set it to NULL by
default.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
tests/test_include.h

index 126b5a2..b037008 100644 (file)
@@ -113,7 +113,7 @@ static int test_prepare(struct conf_option *opts, size_t len,
 
        log_print_init(argv[0]);
 
-       ret = ev_eloop_new(&eloop, log_llog);
+       ret = ev_eloop_new(&eloop, log_llog, NULL);
        if (ret)
                goto err_out;