diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-08-16 12:57:23 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-08-16 12:57:23 +0000 |
commit | 4046be4487138645174b7a9a2398dd59f790651d (patch) | |
tree | 456cb66873d035de56b4a59409fee1793f68618c /cache.c | |
parent | d8c313ff85b838ba7c4c58c52b683c5314fda215 (diff) | |
download | sshfs-4046be4487138645174b7a9a2398dd59f790651d.tar sshfs-4046be4487138645174b7a9a2398dd59f790651d.tar.gz sshfs-4046be4487138645174b7a9a2398dd59f790651d.tar.bz2 sshfs-4046be4487138645174b7a9a2398dd59f790651d.zip |
fixes
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -250,7 +250,7 @@ static int cache_dirfill(fuse_cache_dirh_t ch, const char *name, const struct stat *stbuf) { int err = ch->filler(ch->h, name, 0, 0); - if (!err) { + if (!err && (stbuf->st_mode & S_IFMT)) { char *fullpath; g_ptr_array_add(ch->dir, g_strdup(name)); fullpath = g_strdup_printf("%s/%s", !ch->path[1] ? "" : ch->path, name); |