Skip to content
Snippets Groups Projects
Commit 5adf1696 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

putuserdat() no longer calls dirtyuserdat() if the write/update failed

parent af421d0d
Branches
Tags
No related merge requests found
......@@ -2613,6 +2613,7 @@ int putuserstr(scfg_t* cfg, int usernumber, enum user_field fnum, const char *st
unlockuserdat(file, usernumber);
}
close(file);
if(retval == 0)
dirtyuserdat(cfg, usernumber);
return retval;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment