Fixed 4720a499 (TP returns 303 currently, not 404) => handle 303 well(?); pushed some code around

This commit is contained in:
Dylan G
2021-03-11 12:55:17 +00:00
parent 0bab0f6700
commit 7745530764
2 changed files with 30 additions and 16 deletions

View File

@@ -340,7 +340,7 @@ bool init_qr(void)
free(zip_buf);
return false;
}
else if (R_DESCRIPTION(res) == RD_CANCEL_REQUESTED)
else if (R_DESCRIPTION(res) == RD_NO_DATA || R_DESCRIPTION(res) == RD_CANCEL_REQUESTED)
{
free(filename);
return true;