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

Don't update/rewrite dsts.ini when iniReadFile returns NULL

Even if the empty, iniReadFile() should return an empty list (not NULL),
NULL indicates a file read (or unlikely malloc failure) - so don't write back
what we read and return false (result) instead.

Part of likely work-around of issue #791: it's better to not increment stats
upon a file read error than to reset them all to zero.
parent d7ed70e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment