Fixed potencial issue.

This commit is contained in:
Afonso Clerigo Mendes de Sousa 2025-02-27 13:08:46 +00:00
parent 22353ed869
commit a66dff2402

View File

@ -109,7 +109,8 @@ int main(void)
filepath = size(filepath, 256);
sprintf(filepath, "%s%d.bin", PASSWORDS, req.level);
if (readl(filepath, buffer, 256) == -1)
int i = readl(filepath, buffer, 256);
if (i == -1)
{
aux.ID = req.ID;