diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:30:32 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:30:32 +0000 |
commit | eddbd3967b459a0ccdf09e827709fd135b29aa0b (patch) | |
tree | 6858b99afa97c86149f50f70afd4451c0be7e424 | |
parent | 891a3e5d87fb03e2950e0adb1abc0e2b61f0ea4c (diff) | |
download | sshfs-eddbd3967b459a0ccdf09e827709fd135b29aa0b.tar sshfs-eddbd3967b459a0ccdf09e827709fd135b29aa0b.tar.gz sshfs-eddbd3967b459a0ccdf09e827709fd135b29aa0b.tar.bz2 sshfs-eddbd3967b459a0ccdf09e827709fd135b29aa0b.zip |
fix
-rw-r--r-- | cache.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -519,12 +519,6 @@ struct fuse_operations *cache_init(struct fuse_cache_operations *oper) return &cache_oper; } -static int cache_opt_proc(void *data, const char *arg, int key) -{ - (void) data, (void) arg, (void) key; - return 1; -} - static const struct fuse_opt cache_opts[] = { { "cache=yes", offsetof(struct cache, on), 1 }, { "cache=no", offsetof(struct cache, on), 0 }, @@ -544,6 +538,5 @@ int cache_parse_options(int *argcp, char **argvp[]) cache.link_timeout = DEFAULT_CACHE_TIMEOUT; cache.on = 1; - return fuse_opt_parse(0, NULL, &cache, cache_opts, cache_opt_proc, - argcp, argvp); + return fuse_opt_parse(0, NULL, &cache, cache_opts, NULL, argcp, argvp); } |