summaryrefslogtreecommitdiff
path: root/code/ecp/rbuf_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/ecp/rbuf_send.c')
-rw-r--r--code/ecp/rbuf_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/ecp/rbuf_send.c b/code/ecp/rbuf_send.c
index 39fed02..5847744 100644
--- a/code/ecp/rbuf_send.c
+++ b/code/ecp/rbuf_send.c
@@ -108,7 +108,7 @@ ssize_t ecp_rbuf_handle_ack(ECPConnection *conn, ecp_seq_t seq, unsigned char mt
(msg[6] << 8) | \
(msg[7]);
- eos_tr_release(b->packet, 1);
+ ecp_tr_release(b->packet, 1);
ecp_tr_flag_set(ECP_SEND_FLAG_MORE);
#ifdef ECP_WITH_PTHREAD
@@ -203,7 +203,7 @@ ssize_t ecp_rbuf_handle_ack(ECPConnection *conn, ecp_seq_t seq, unsigned char mt
}
ecp_tr_flag_clear(ECP_SEND_FLAG_MORE);
- eos_tr_release(b->packet, 0);
+ ecp_tr_release(b->packet, 0);
if (rv) return rv;
return rsize;