diff --git a/buffer/prs_readblob.c b/buffer/prs_readblob.c index 059d0e7..bccac50 100644 --- a/buffer/prs_readblob.c +++ b/buffer/prs_readblob.c @@ -29,7 +29,6 @@ ssize_t prs_readblob(struct bytestream* bs,unsigned char* dest,size_t destlen) { break; case BSTREAM: - bs->cur += destlen; r=prs_readblob(bs->u.bs, dest, destlen); if (r != (ssize_t)destlen) { bs->cur = 1; // set bytestream to error state