diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-12 16:04:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-12 16:04:02 +0300 |
commit | 429162ba11e58758e5e4ac4f03239891fc3e189c (patch) | |
tree | a530c0621a5cb3fe18c8d85392658458d02d6ea1 /tests | |
parent | a18413342bc088e10a56ff70dca8f3007a83085d (diff) |
Merge with latest upstream package version (master branch)
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); |