mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
store dircache in proper directory
This commit is contained in:
@@ -175,7 +175,12 @@ static void mediafirefs_destroy()
|
||||
|
||||
fprintf(stderr, "storing hashtable\n");
|
||||
|
||||
fd = fopen("hashtable.dump", "w+");
|
||||
fd = fopen(ctx->dircache, "w+");
|
||||
|
||||
if (fd == NULL) {
|
||||
fprintf(stderr, "cannot open %s for writing\n", ctx->dircache);
|
||||
return;
|
||||
}
|
||||
|
||||
folder_tree_store(ctx->tree, fd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user