summaryrefslogtreecommitdiff
path: root/code/core/rbuf_send.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-09 17:42:01 +0000
committerUros Majstorovic <majstor@majstor.org>2017-09-09 17:42:01 +0000
commitd2aeb3b2f016860432a3451d04cceb4d871ff4ba (patch)
tree47b1ea0cde44d7986e9b49641922ba1dc430878b /code/core/rbuf_send.c
parent811d0032484bbc820355da8a3c401d44949b49e8 (diff)
fixed rbuf ack handle again
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 bc1c1b9..c78fecf 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_OK;
+ if (buf == NULL) return size;
if (size < 0) return size;
if (size < rsize) return ECP_ERR;