summaryrefslogtreecommitdiff
path: root/code/core/rbuf_recv.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-07 17:40:47 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-07 17:40:47 +0200
commit8d3e76d078cf1fd9d295391735ca4208eaa5f3de (patch)
treed21479d7eabe71471f2fe6ae785deed4fd9daf3f /code/core/rbuf_recv.c
parentc129b10bf7c851d94002767aa09e06c526cacb7d (diff)
fixed rbuf start
Diffstat (limited to 'code/core/rbuf_recv.c')
-rw-r--r--code/core/rbuf_recv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/core/rbuf_recv.c b/code/core/rbuf_recv.c
index 7b90b89..5b8568e 100644
--- a/code/core/rbuf_recv.c
+++ b/code/core/rbuf_recv.c
@@ -257,6 +257,7 @@ int ecp_rbuf_recv_start(ECPConnection *conn, ecp_seq_t seq) {
if (buf == NULL) return ECP_ERR;
+ seq--;
buf->seq_ack = seq;
rv = ecp_rbuf_start(&buf->rbuf, seq);
if (rv) return rv;