From 37f628a88d800123dbad003b122322e8181c3baa Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 17 Jul 2017 21:36:47 +0200 Subject: seq added to msg handler --- code/test/echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/test/echo.c') diff --git a/code/test/echo.c b/code/test/echo.c index 2494868..fe17901 100644 --- a/code/test/echo.c +++ b/code/test/echo.c @@ -14,7 +14,7 @@ ECPConnHandler handler_s; #define CTYPE_TEST 0 #define MTYPE_MSG 8 -ssize_t handle_msg_s(ECPConnection *conn, unsigned char t, unsigned char *p, ssize_t s) { +ssize_t handle_msg_s(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) { ssize_t rv = ecp_send(conn, p-ECP_SIZE_MSG_HDR, ECP_SIZE_MSG_HDR+s); return s; -- cgit v1.2.3