From 47168fb0c393548169a67e14677759d27ccdc71b Mon Sep 17 00:00:00 2001 From: Said Bakr Date: Wed, 16 Feb 2022 20:47:55 +0200 Subject: [PATCH] Fix without custom error condition --- darkhttpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darkhttpd.c b/darkhttpd.c index 6fbfe38..ebe2e3c 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -1553,7 +1553,7 @@ static void default_reply(struct connection *conn, "
\n" "%s" /* generated on */ "\n"; - if (errcode == 404 && e_404 != NULL){ + if (errcode == 404 && e_404 != ""){ defContent = e_404; }