add NULL check

This commit is contained in:
Christian Grothoff
2026-07-08 11:37:01 +02:00
parent b7dd720a32
commit 83eecbca49
+2 -1
View File
@@ -304,7 +304,8 @@ add_response_entry (struct MHD_Response *response,
if (NULL == content)
return MHD_NO;
if (NULL == header)
return MHD_NO;
header_len = strlen (header);
content_len = strlen (content);
return add_response_entry_n (response, kind, header,