diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
commit | f439711a77e0719e7f1dcf4b5c5511157986c918 (patch) | |
tree | cac0cf37be2676fcf2dc958f9d9fd2fadea20653 /src/common/packed.c | |
parent | 986125d4c2d8b049017b6d0770f16b9058076165 (diff) |
Retrieved the current snapshot identifier from servers.
Diffstat (limited to 'src/common/packed.c')
-rw-r--r-- | src/common/packed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/packed.c b/src/common/packed.c index 163ed3b..a8ce3c5 100644 --- a/src/common/packed.c +++ b/src/common/packed.c @@ -141,7 +141,7 @@ bool has_more_data_in_packed_buffer(const packed_buffer *pbuf) { bool result; /* Bilan à retourner */ - result = (pbuf->pos < pbuf->used); + result = (pbuf->pos < (pbuf->used + sizeof(uint32_t))); return result; |