diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-09-07 17:40:47 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-09-07 17:40:47 +0200 |
commit | 8d3e76d078cf1fd9d295391735ca4208eaa5f3de (patch) | |
tree | d21479d7eabe71471f2fe6ae785deed4fd9daf3f /code/core/rbuf_recv.c | |
parent | c129b10bf7c851d94002767aa09e06c526cacb7d (diff) |
fixed rbuf start
Diffstat (limited to 'code/core/rbuf_recv.c')
-rw-r--r-- | code/core/rbuf_recv.c | 1 |
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; |