[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4911
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4911 |
Date: |
Thu, 23 Feb 2017 12:19:47 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 0bf22e85 fix #4911
0bf22e85 is described below
commit 0bf22e855332d35b5be1608cb8c65d3a1cfe93aa
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Feb 23 12:20:44 2017 +0100
fix #4911
---
src/microhttpd/response.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index a0897d8b..8ad6a9d7 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -595,9 +595,11 @@ MHD_create_response_from_data (size_t size,
must_free = MHD_YES;
data = tmp;
}
- response->crc = NULL;
- response->crfc = must_free ? &free : NULL;
- response->crc_cls = must_free ? data : NULL;
+ if (must_free)
+ {
+ response->crfc = &free;
+ response->crc_cls = data;
+ }
response->reference_count = 1;
response->total_size = size;
response->data = data;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4911,
gnunet <=