Fixed forgotten deprecation warning
This commit is contained in:
parent
36b04a059e
commit
577dfd9e1a
|
@ -61,11 +61,10 @@ unsigned char favicon_png[] = {
|
|||
unsigned int favicon_png_len = 521;
|
||||
|
||||
struct MHD_Response* create_favicon_response(void) {
|
||||
struct MHD_Response *faviconResponse = MHD_create_response_from_data(
|
||||
struct MHD_Response *faviconResponse = MHD_create_response_from_buffer(
|
||||
favicon_png_len,
|
||||
(void*)favicon_png,
|
||||
MHD_NO,
|
||||
MHD_NO);
|
||||
MHD_RESPMEM_PERSISTENT);
|
||||
|
||||
MHD_add_response_header(faviconResponse, MHD_HTTP_HEADER_CONTENT_TYPE, "image/png");
|
||||
|
||||
|
|
Loading…
Reference in a new issue