summaryrefslogtreecommitdiff
path: root/code/test/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/basic.c')
-rw-r--r--code/test/basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/test/basic.c b/code/test/basic.c
index dae2819..5627fd3 100644
--- a/code/test/basic.c
+++ b/code/test/basic.c
@@ -35,7 +35,7 @@ ssize_t handle_open_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsign
ecp_pld_set_type(payload, MTYPE_MSG);
strcpy((char *)buf, msg);
- ssize_t _rv = ecp_send(conn, payload, sizeof(payload));
+ ssize_t _rv = ecp_pld_send(conn, payload, sizeof(payload));
return s;
}
@@ -53,7 +53,7 @@ ssize_t handle_msg_s(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigne
ecp_pld_set_type(payload, MTYPE_MSG);
strcpy((char *)buf, msg);
- ssize_t _rv = ecp_send(conn, payload, sizeof(payload));
+ ssize_t _rv = ecp_pld_send(conn, payload, sizeof(payload));
return s;
}