diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/driver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/basic/driver.c b/tests/basic/driver.c index 1f861de..c9810ce 100644 --- a/tests/basic/driver.c +++ b/tests/basic/driver.c @@ -37,7 +37,9 @@ error_handler (const char* msg, const pkgconf_client_t* c, const void* d) static void print_and_free (pkgconf_list_t* list) { - char* buf = pkgconf_fragment_render (list, /* escape */ true); + char* buf = pkgconf_fragment_render (list, + true /* escape */, + NULL /* options */); printf("%s", buf); free (buf); @@ -65,7 +67,7 @@ int main (int argc, const char* argv[]) { pkgconf_client_t* c = - pkgconf_client_new (error_handler, /* error_handler_data */ NULL); + pkgconf_client_new (error_handler, NULL /* error_handler_data */); assert (c != NULL); |