response.c: added missing assigment of MHD_HTTP_Header::value_size

This commit is contained in:
Evgeny Grin (Karlson2k)
2019-05-01 22:11:16 +03:00
parent d533ad512a
commit 08ea0cc894
+1
View File
@@ -111,6 +111,7 @@ add_response_entry (struct MHD_Response *response,
free (hdr);
return MHD_NO;
}
hdr->value_size = strlen (content);
hdr->kind = kind;
hdr->next = response->first_header;
response->first_header = hdr;