summaryrefslogtreecommitdiff
path: root/code/test/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/client.c')
-rw-r--r--code/test/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/test/client.c b/code/test/client.c
index 992479b..edde70b 100644
--- a/code/test/client.c
+++ b/code/test/client.c
@@ -31,7 +31,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;
}