summaryrefslogtreecommitdiff
path: root/code/test/echo.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-06 18:19:00 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-06 18:19:00 +0200
commitc129b10bf7c851d94002767aa09e06c526cacb7d (patch)
treea0ca2c8d603a233c43c888dddb4ee541d4ba34e5 /code/test/echo.c
parentb83e58e21ea7dda57ddfda47bd1539d15abe687f (diff)
frad/defrag implemented
Diffstat (limited to 'code/test/echo.c')
-rw-r--r--code/test/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/test/echo.c b/code/test/echo.c
index 593b904..aa27529 100644
--- a/code/test/echo.c
+++ b/code/test/echo.c
@@ -15,7 +15,7 @@ ECPConnHandler handler_s;
#define MTYPE_MSG 8
ssize_t handle_msg_s(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) {
- ssize_t rv = ecp_send(conn, p-ECP_SIZE_PLD_HDR-1, ECP_SIZE_PLD_HDR+1+s);
+ ssize_t rv = ecp_pld_send(conn, p-ECP_SIZE_PLD_HDR-1, ECP_SIZE_PLD_HDR+1+s);
return s;
}