Skip to content
Snippets Groups Projects
Commit 8b1910e9 authored by rswindell's avatar rswindell
Browse files

Log a stupid message ("DANGER WILL ROBINSON") if the file_name_index or cgi_ext

string lists are detected as NULL - this is *still* occurring and I'm hoping
this log entry will help determine the cause.
parent 589482d3
No related branches found
No related tags found
No related merge requests found
......@@ -3611,6 +3611,9 @@ void http_session_thread(void* arg)
socket=session.socket;
lprintf(LOG_DEBUG,"%04d Session thread started", session.socket);
if(startup->index_file_name==NULL || startup->cgi_ext==NULL)
lprintf(LOG_DEBUG,"%04d !!! DANGER WILL ROBINSON, DANGER !!!", session.socket);
#ifdef _WIN32
if(startup->answer_sound[0] && !(startup->options&BBS_OPT_MUTE))
PlaySound(startup->answer_sound, NULL, SND_ASYNC|SND_FILENAME);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment