Bug 1096014 - Regression: Unable to complete downloads in Firefox for Android. r=mfinkle

This commit is contained in:
Paolo Amadini 2014-11-13 11:16:04 +00:00
parent 534eef66ec
commit a055681072

View File

@ -3362,9 +3362,9 @@ nsDownload::FixTargetPermissions()
rv = infoService->GetPropertyAsUint32(NS_LITERAL_STRING("umask"),
&gUserUmask);
if (NS_SUCCEEDED(rv)) {
rv = target->SetPermissions(0666 & ~gUserUmask);
(void)target->SetPermissions(0666 & ~gUserUmask);
}
return rv;
return NS_OK;
}
nsresult