Skip to content
Snippets Groups Projects
Commit 7f1ba837 authored by rswindell's avatar rswindell
Browse files

Attempt to create temp_dir (in case it doesn't exist).

parent fda55a92
No related branches found
No related tags found
No related merge requests found
......@@ -3262,6 +3262,7 @@ void DLLCALL web_server(void* arg)
lprintf(LOG_DEBUG,"Root HTML directory: %s", root_dir);
lprintf(LOG_DEBUG,"Error HTML directory: %s", error_dir);
lprintf(LOG_DEBUG,"Temporary file directory: %s", temp_dir);
MKDIR(temp_dir);
if(!isdir(temp_dir)) {
lprintf(LOG_ERR,"!Invalid temp directory: %s", temp_dir);
cleanup(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment