mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Replaced MHD_RESPMEM_PERSISTENT usage in examples and code
New functions do not produce compiler warnings.
This commit is contained in:
@@ -120,9 +120,7 @@ ahc_empty (void *cls,
|
||||
return MHD_YES;
|
||||
}
|
||||
*req_cls = NULL;
|
||||
response = MHD_create_response_from_buffer (0,
|
||||
NULL,
|
||||
MHD_RESPMEM_PERSISTENT);
|
||||
response = MHD_create_response_empty (MHD_RF_NONE);
|
||||
ret = MHD_queue_response (connection,
|
||||
MHD_HTTP_OK,
|
||||
response);
|
||||
|
||||
Reference in New Issue
Block a user