mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
add NULL check
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user