summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_client.c b/tests/test_client.c
index 5cbd24d..7a16732 100644
--- a/tests/test_client.c
+++ b/tests/test_client.c
@@ -135,14 +135,14 @@ void c2n_established_cb(struct PICA_c2n *c2n)
printf("c2n_established_cb: %p\n my_id %s\n", c2n, PICA_id_to_base64(c2n->acc->id, NULL));
}
-void c2n_failed_cb(struct PICA_c2n *c2n)
+void c2n_failed_cb(struct PICA_c2n *c2n, int error)
{
- printf("c2n_failed_cb: %p\n", c2n);
+ printf("c2n_failed_cb: %p error_code %i\n", c2n, error);
}
-void c2n_closed_cb(struct PICA_c2n *c2n)
+void c2n_closed_cb(struct PICA_c2n *c2n, int error)
{
- printf("c2n_closed_cb: %p\n", c2n);
+ printf("c2n_closed_cb: %p error_code %i\n", c2n, error);
}
void listener_error(struct PICA_listener *lst, int errorcode)