mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
added state 98 as a terminal state
This commit is contained in:
@@ -163,7 +163,9 @@ int filecache_upload_patch(const char *quickkey, uint64_t local_revision,
|
||||
return -1;
|
||||
}
|
||||
fprintf(stderr, "status: %d, filerror: %d\n", status, fileerror);
|
||||
if (status == 99) {
|
||||
|
||||
// values 98 and 99 are terminal states for a completed upload
|
||||
if (status == 99 || status == 98) {
|
||||
fprintf(stderr, "done\n");
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -517,7 +517,9 @@ int mediafirefs_release(const char *path, struct fuse_file_info *file_info)
|
||||
return -1;
|
||||
}
|
||||
fprintf(stderr, "status: %d, filerror: %d\n", status, fileerror);
|
||||
if (status == 99) {
|
||||
|
||||
// values 98 and 99 are terminal states for a completed upload
|
||||
if (status == 99 || status == 98) {
|
||||
fprintf(stderr, "done\n");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user