diff options
Diffstat (limited to 'code/test/client.c')
-rw-r--r-- | code/test/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/code/test/client.c b/code/test/client.c index 3f33d71..6e45df4 100644 --- a/code/test/client.c +++ b/code/test/client.c @@ -16,10 +16,10 @@ ECPConnection conn; #define CTYPE_TEST 0 #define MTYPE_MSG 8 -ssize_t handle_open_c(ECPConnection *conn, unsigned char t, unsigned char *p, ssize_t s) { +ssize_t handle_open_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) { uint32_t seq = 0; - ecp_conn_handle_open(conn, t, p, s); + ecp_conn_handle_open(conn, sq, t, p, s); if (s < 0) { printf("OPEN ERR:%ld\n", s); return 0; @@ -35,7 +35,7 @@ ssize_t handle_open_c(ECPConnection *conn, unsigned char t, unsigned char *p, ss return 0; } -ssize_t handle_msg_c(ECPConnection *conn, unsigned char t, unsigned char *p, ssize_t s) { +ssize_t handle_msg_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) { printf("MSG C:%s size:%ld\n", p, s); return s; } |