summaryrefslogtreecommitdiff
path: root/code/core/rbuf_send.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-09 17:46:07 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-09 17:46:07 +0200
commitd2dd101b8fef0b0ccae35b7c6b9c0fc678649fb4 (patch)
tree6282aeeadad0ef4ddb94b7bb79de9deb7db16c2d /code/core/rbuf_send.c
parentd40fd9b1adab64182ce8af0b8e19cfc8a93171d7 (diff)
rbuf handle ack fixed
Diffstat (limited to 'code/core/rbuf_send.c')
-rw-r--r--code/core/rbuf_send.c2
1 files changed, 1 insertions, 1 deletions
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;