Fix without custom error condition

This commit is contained in:
Said Bakr 2022-02-16 20:47:55 +02:00
parent ec32d2b284
commit 47168fb0c3

View File

@ -1553,7 +1553,7 @@ static void default_reply(struct connection *conn,
"<hr>\n" "<hr>\n"
"%s" /* generated on */ "%s" /* generated on */
"</body></html>\n"; "</body></html>\n";
if (errcode == 404 && e_404 != NULL){ if (errcode == 404 && e_404 != ""){
defContent = e_404; defContent = e_404;
} }