diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-09-06 18:19:00 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-09-06 18:19:00 +0200 |
commit | c129b10bf7c851d94002767aa09e06c526cacb7d (patch) | |
tree | a0ca2c8d603a233c43c888dddb4ee541d4ba34e5 /code/test/basic.c | |
parent | b83e58e21ea7dda57ddfda47bd1539d15abe687f (diff) |
frad/defrag implemented
Diffstat (limited to 'code/test/basic.c')
-rw-r--r-- | code/test/basic.c | 4 |
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; } |