summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-14 20:12:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-14 20:12:26 +0000
commit225e8035005cbfd7a19affab87df3d0d96377354 (patch)
treeb9d3ab190e93222ed714e5334c39597a6916a475
parentReplace first level permission checks and path resolution/normalization (diff)
downloadnetfs-1.1.6.1.tar.bz2
netfs-1.1.6.1.tar.xz
netfs-1.1.6.1.zip
Set cache timeout correctlynetfs-1.1.6.1
-rw-r--r--netfs/fuse/fuseDirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseDirs.cpp b/netfs/fuse/fuseDirs.cpp
index c780866..ab09ca1 100644
--- a/netfs/fuse/fuseDirs.cpp
+++ b/netfs/fuse/fuseDirs.cpp
@@ -79,7 +79,7 @@ NetFS::FuseApp::readdir(const char * p, void * buf, fuse_fill_dir_t filler, off_
struct stat s;
s << AttrSource { volume->end_getattr(asga), userLookup, groupLookup };
return s;
- }, time_t(NULL) + 2);
+ }, time(NULL) + 2);
}
return 0;
}