Skip to content
Snippets Groups Projects
Commit ea849a40 authored by deuce's avatar deuce
Browse files

Remove extra format argument.

parent 4bbcb671
No related branches found
No related tags found
No related merge requests found
...@@ -1323,7 +1323,7 @@ static void send_error(http_session_t * session, const char* message) ...@@ -1323,7 +1323,7 @@ static void send_error(http_session_t * session, const char* message)
sprintf(session->req.physical_path,"%s%s.html",error_dir,error_code); sprintf(session->req.physical_path,"%s%s.html",error_dir,error_code);
} }
else else
sprintf(session->req.physical_path,"%s%s.html",error_dir,error_code,startup->ssjs_ext); sprintf(session->req.physical_path,"%s%s.html",error_dir,error_code);
session->req.mime_type=get_mime_type(strrchr(session->req.physical_path,'.')); session->req.mime_type=get_mime_type(strrchr(session->req.physical_path,'.'));
send_headers(session,message,FALSE); send_headers(session,message,FALSE);
if(!stat(session->req.physical_path,&sb)) { if(!stat(session->req.physical_path,&sb)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment