From d2dd101b8fef0b0ccae35b7c6b9c0fc678649fb4 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 9 Sep 2017 17:46:07 +0200 Subject: rbuf handle ack fixed --- code/core/rbuf_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/core/rbuf_send.c') diff --git a/code/core/rbuf_send.c b/code/core/rbuf_send.c index 323596f..bc1c1b9 100644 --- a/code/core/rbuf_send.c +++ b/code/core/rbuf_send.c @@ -82,7 +82,7 @@ ssize_t ecp_rbuf_handle_ack(ECPConnection *conn, ecp_seq_t seq, unsigned char mt int rv = ECP_OK; buf = conn->rbuf.send; - if (buf == NULL) return ECP_ERR; + if (buf == NULL) return ECP_OK; if (size < 0) return size; if (size < rsize) return ECP_ERR; -- cgit v1.2.3