aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hsrv.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-08 15:14:59 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-08 15:14:59 +0200
commit56f9ef4581d567248b6f83a3b15f39a0aca42895 (patch)
tree607fddaf6c62515126768b86d3e7e7df1112153a /src/afb-hsrv.c
parent6ea1d50ab6571551e1d0379940349911956c97ee (diff)
refactoring req interface
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hsrv.c')
-rw-r--r--src/afb-hsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c
index efbb9356..c58295a4 100644
--- a/src/afb-hsrv.c
+++ b/src/afb-hsrv.c
@@ -162,7 +162,7 @@ static int access_handler(
if (!MHD_post_process (hreq->postform, upload_data, *upload_data_size))
goto internal_error;
} else {
- if (!afb_hreq_post_add(hreq, NULL, upload_data, *upload_data_size))
+ if (!afb_hreq_post_add(hreq, "", upload_data, *upload_data_size))
goto internal_error;
}
*upload_data_size = 0;