mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Fixed drop of 'const' when building internal error response
This commit is contained in:
@@ -2391,9 +2391,8 @@ transmit_error_response_len (struct MHD_Connection *connection,
|
||||
MHD_destroy_response (connection->response);
|
||||
connection->response = NULL;
|
||||
}
|
||||
response = MHD_create_response_from_buffer (message_len,
|
||||
(void *) message,
|
||||
MHD_RESPMEM_PERSISTENT);
|
||||
response = MHD_create_response_from_buffer_static (message_len,
|
||||
message);
|
||||
if (NULL == response)
|
||||
{
|
||||
#ifdef HAVE_MESSAGES
|
||||
|
||||
Reference in New Issue
Block a user