aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index ba07b26..757807a 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -267,7 +267,7 @@ static int fuse_bufvec_advance(struct fuse_bufvec *bufv, size_t len)
const struct fuse_buf *buf = fuse_bufvec_current(bufv);
if (!buf)
- return 1;
+ return 0;
bufv->off += len;
assert(bufv->off <= buf->size);