Fixing bug

This commit is contained in:
Michael Tryby
2019-04-02 14:37:32 -04:00
parent 3828ebb1cd
commit 44fc73cf41

View File

@@ -194,7 +194,7 @@ int _get_temp_filename(char **tempname)
// --- for non-Windows systems: // --- for non-Windows systems:
#else #else
// --- use system function mkstemp() to create a temporary file name // --- use system function mkstemp() to create a temporary file name
copy_cstr("enXXXXXX", tempname, size) copy_cstr("enXXXXXX", tempname);
error = mkstemp(*tempname); error = mkstemp(*tempname);
#endif #endif
return error; return error;