CHG: 'script run didump' - got some remake. unfinished.

CHG: some default keys
This commit is contained in:
iceman1001 2017-07-04 20:23:47 +02:00
commit a211877853
6 changed files with 347 additions and 75 deletions

View file

@ -84,10 +84,8 @@ int saveFile(const char *preferredName, const char *suffix, const void* data, si
return 1;
}
fwrite(data, 1, datalen, f);
if (f) {
if (f)
fclose(f);
f = NULL;
}
prnlog("Saved data to '%s'", fileName);
free(fileName);
return 0;