From fa9d2d4eed8a4058fffc8d8b1f20065026dcec80 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Thu, 15 Feb 2024 21:37:41 -0800
Subject: [PATCH] Lower severity of "Response file path is NULL" log msg from
 CRIT to WARNING

This is not a completely unexpected thing to happen during ungraceful
termination
---
 src/sbbs3/websrvr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index 56a687202b..9352cbc2c5 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -1165,7 +1165,7 @@ static bool content_file_open(http_session_t* session)
 	const char* path = session->req.cleanup_file[CLEANUP_SSJS_TMP_FILE];
 	if (session->req.fp == NULL) {
 		if (path == NULL)
-			lprintf(LOG_CRIT, "%04d %s [%s] Response file path is NULL"
+			lprintf(LOG_WARNING, "%04d %s [%s] Response file path is NULL"
 				,session->socket, session->client.protocol, session->host_ip);
 		else {
 			session->req.fp = fopen(path, "wb");
-- 
GitLab