Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
960eb7a
)
ensure that the copy is done by libmicrohttp
author
José Bollo
<jose.bollo@iot.bzh>
Mon, 9 May 2016 12:17:01 +0000
(14:17 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Mon, 9 May 2016 12:17:01 +0000
(14:17 +0200)
Change-Id: I68d10265e34953e3ad21197f616c838b4b8c2bad
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-hreq.c
patch
|
blob
|
history
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
cc12da5
..
d0adda6
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-663,7
+663,7
@@
static const char *req_raw(struct afb_hreq *hreq, size_t *size)
static void req_send(struct afb_hreq *hreq, const char *buffer, size_t size)
{
- afb_hreq_reply_
free
(hreq, MHD_HTTP_OK, size, buffer, NULL);
+ afb_hreq_reply_
copy
(hreq, MHD_HTTP_OK, size, buffer, NULL);
}
static ssize_t send_json_cb(json_object *obj, uint64_t pos, char *buf, size_t max)