summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2005-12-03 18:35:45 +0000
committerStefan Siegl <stesie@brokenpipe.de>2005-12-03 18:35:45 +0000
commit4fbb3019d26e7c2d3f3df9db8d0e66bbcfd69943 (patch)
tree1ee2e4f2c435c7740dd1d5480b5094c7f0060c8c
parent424955314740df646c82f9dcfaed36b95672418e (diff)
return the number of directory entries as a positive integer from netfs_get_dirents
-rw-r--r--netfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs.c b/netfs.c
index 1dd465e0a..e1fc20bd7 100644
--- a/netfs.c
+++ b/netfs.c
@@ -1150,7 +1150,7 @@ fuse_dirent_helper(fuse_dirh_t handle, const char *name, int type, ino_t ino)
/* update hdrpos pointer */
handle->hdrpos = ((void *) handle->hdrpos) + dirent_len;
- handle->count --;
+ handle->count ++;
return 0;
}