mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
Add support for updating local cache through patches
- refactor some code: - code handling the file cache is now in fuse/filecache.c - base36 and base16 encoding and decoding moved to utils/hash.c - mfshell: add "updates" command calling device/get_updates - add container class to store patch information as mfapi/patch.c - apicalls: store more info retrieved by file/get_info - apicalls: add device/get_updates - apicalls: add device/get_patch
This commit is contained in:
@@ -112,7 +112,7 @@ static int _decode_folder_get_info(mfhttp * conn, void *data)
|
||||
|
||||
revision = json_object_get(node, "revision");
|
||||
if (revision != NULL) {
|
||||
folder_set_revision(folder, atol(json_string_value(revision)));
|
||||
folder_set_revision(folder, atoll(json_string_value(revision)));
|
||||
}
|
||||
|
||||
created = json_object_get(node, "created");
|
||||
|
||||
Reference in New Issue
Block a user