diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-12 15:36:24 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-12 15:36:24 +0300 |
commit | ca8693dacc59ec797f2a47518fe3b34456b67836 (patch) | |
tree | 074e8ec6e68a8b170e22753b3aed075f8b835ff4 /src/microhttpd/response.c | |
parent | 5f9f3f06a47cecb502caf110ba6b35e8d38f48e8 (diff) | |
download | libmicrohttpd-ca8693dacc59ec797f2a47518fe3b34456b67836.tar.gz libmicrohttpd-ca8693dacc59ec797f2a47518fe3b34456b67836.zip |
struct MHD_Response: minor clarification
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index b857326f..f4dc361c 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c | |||
@@ -781,6 +781,8 @@ MHD_create_response_from_data (size_t size, | |||
781 | response->total_size = size; | 781 | response->total_size = size; |
782 | response->data = data; | 782 | response->data = data; |
783 | response->data_size = size; | 783 | response->data_size = size; |
784 | if (must_copy) | ||
785 | response->data_buffer_size = size; | ||
784 | return response; | 786 | return response; |
785 | } | 787 | } |
786 | 788 | ||