diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_loop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fuse_loop.c b/lib/fuse_loop.c index c847bd8..e6560aa 100644 --- a/lib/fuse_loop.c +++ b/lib/fuse_loop.c @@ -35,6 +35,10 @@ int fuse_session_loop(struct fuse_session *se) } free(fbuf.mem); + if(res > 0) + /* No error, just the length of the most recently read + request */ + res = 0; if(se->error != 0) res = se->error; fuse_session_reset(se); |