summaryrefslogtreecommitdiff
path: root/ecp/test
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test')
-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) {