summaryrefslogtreecommitdiff
path: root/ecp
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-05-04 01:26:20 +0200
committerUros Majstorovic <majstor@majstor.org>2024-05-04 01:26:20 +0200
commit1060b5e4712db12b52944bdcf7f2588cea23382b (patch)
treed7368fd069260c823907c04d1d354b9e17fb85db /ecp
parent77c7b4afafa7e1e4b488da64fa6588d2995a956f (diff)
updated tests
Diffstat (limited to 'ecp')
-rw-r--r--ecp/test/init.c2
-rw-r--r--ecp/test/init_vconn.c2
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) {