diff options
Diffstat (limited to 'ecp/test')
-rw-r--r-- | ecp/test/dir.c | 2 | ||||
-rw-r--r-- | ecp/test/init.c | 2 | ||||
-rw-r--r-- | ecp/test/init_vconn.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ecp/test/dir.c b/ecp/test/dir.c index 099ecbb..9c04432 100644 --- a/ecp/test/dir.c +++ b/ecp/test/dir.c @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) { if (argc != 3) usage(argv[0]); - rv = ecp_ctx_init(&ctx, NULL, NULL, NULL, handle_err); + rv = ecp_ctx_init(&ctx, NULL, NULL, NULL, handle_err, printf); LOG("ecp_ctx_init", rv); rv = ecp_dir_set_handler(&ctx, &dir_handler, print_list); diff --git a/ecp/test/init.c b/ecp/test/init.c index fbf17c6..7004794 100644 --- a/ecp/test/init.c +++ b/ecp/test/init.c @@ -26,6 +26,6 @@ static void conn_free(ECPConnection *conn) { int ecp_init(ECPContext *ctx) { int rv; - rv = ecp_ctx_init(ctx, NULL, conn_new, conn_free, handle_err); + rv = ecp_ctx_init(ctx, NULL, conn_new, conn_free, handle_err, printf); return rv; } diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c index ba72c01..273ae5d 100644 --- a/ecp/test/init_vconn.c +++ b/ecp/test/init_vconn.c @@ -51,7 +51,7 @@ static void conn_free(ECPConnection *conn) { int ecp_init(ECPContext *ctx, ECPConnHandler *vconn_handler, ECPConnHandler *vlink_handler) { int rv; - rv = ecp_ctx_init(ctx, NULL, conn_new, conn_free, handle_err); + rv = ecp_ctx_init(ctx, NULL, conn_new, conn_free, handle_err, printf); if (rv) return rv; rv = ecp_vconn_handler_init(ctx, vconn_handler); |