Skip to content
Snippets Groups Projects
Commit 0c02a445 authored by ale's avatar ale
Browse files

Remove reference to 'log'

parent 9dbd4d12
No related branches found
No related tags found
No related merge requests found
......@@ -572,20 +572,6 @@ int main(int argc, char *argv[])
umask(AP_SUEXEC_UMASK);
#endif /* AP_SUEXEC_UMASK */
/*
* Be sure to close the log file so the CGI can't
* mess with it. If the exec fails, it will be reopened
* automatically when log_err is called. Note that the log
* might not actually be open if AP_LOG_EXEC isn't defined.
* However, the "log" cell isn't ifdef'd so let's be defensive
* and assume someone might have done something with it
* outside an ifdef'd AP_LOG_EXEC block.
*/
if (log != NULL) {
fclose(log);
log = NULL;
}
/*
* Execute the command, replacing our image with its own.
*/
......
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