From 1060b5e4712db12b52944bdcf7f2588cea23382b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 4 May 2024 01:26:20 +0200 Subject: updated tests --- ecp/test/init.c | 2 +- ecp/test/init_vconn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecp/test/init.c b/ecp/test/init.c index 069aad3..aca2630 100644 --- a/ecp/test/init.c +++ b/ecp/test/init.c @@ -7,7 +7,7 @@ static void handle_err(ECPConnection *conn, unsigned char mtype, int err) { printf("ERR: CTYPE:0x%x MTYPE:0x%x ERR:%d\n", conn->type, mtype, err); } -static ECPConnection *conn_new(ECPSocket *sock, unsigned char type) { +static ECPConnection *conn_new(ECPSocket *sock, ECPConnection *parent, unsigned char type) { ECPConnection *conn; conn = malloc(sizeof(ECPConnection)); diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c index 64e9631..7594c92 100644 --- a/ecp/test/init_vconn.c +++ b/ecp/test/init_vconn.c @@ -9,7 +9,7 @@ static void handle_err(ECPConnection *conn, unsigned char mtype, int err) { printf("ERR: CTYPE:0x%x MTYPE:0x%x ERR:%d\n", conn->type, mtype, err); } -static ECPConnection *conn_new(ECPSocket *sock, unsigned char type) { +static ECPConnection *conn_new(ECPSocket *sock, ECPConnection *parent, unsigned char type) { ECPConnection *conn = NULL; switch (type) { -- cgit v1.2.3