diff options
Diffstat (limited to 'code/ecp/core.c')
-rw-r--r-- | code/ecp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/ecp/core.c b/code/ecp/core.c index b9efec4..77b7a96 100644 --- a/code/ecp/core.c +++ b/code/ecp/core.c @@ -1215,7 +1215,7 @@ ssize_t ecp_unpack(ECPSocket *sock, ECPNetAddr *addr, ECPConnection *parent, ECP (payload[2] << 8) | \ (payload[3]); - if ((payload[ECP_SIZE_PLD_HDR] & ECP_MTYPE_MASK) < ECP_MAX_MTYPE_SYS) ecp_tr_buf_free(bufs, ECP_SEND_FLAG_MORE); + if ((payload[ECP_SIZE_PLD_HDR] & ECP_MTYPE_MASK) < ECP_MAX_MTYPE_SYS) ecp_tr_release(bufs->packet, 1); if (conn == NULL) { if (payload[ECP_SIZE_PLD_HDR] == ECP_MTYPE_OPEN_REQ) { is_new = 1; |