diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2015-12-22 23:09:04 +0100 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2015-12-22 23:09:04 +0100 |
commit | 00857f9da5ae802794a4cb94aca576b11bfe6628 (patch) | |
tree | fb17939c9488de74e345bd5cc68a94b8894b8968 /plugins/samples/SamplePost.c | |
parent | 1398adf363c182f25603f7d0c1ff52c5be8267b2 (diff) |
New Session Model [compile but not tested]
Diffstat (limited to 'plugins/samples/SamplePost.c')
-rw-r--r-- | plugins/samples/SamplePost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/samples/SamplePost.c b/plugins/samples/SamplePost.c index 53d065ae..beadb774 100644 --- a/plugins/samples/SamplePost.c +++ b/plugins/samples/SamplePost.c @@ -48,7 +48,8 @@ STATIC json_object* UploadAppli (AFB_request *request, AFB_PostItem *item) { // This is called after PostForm and then after DonePostForm if (item == NULL) { AFB_PostCtx *postFileCtx = getPostContext(request); - if (postFileCtx != NULL) { + if (postFileCtx != NULL) { + // Do something intelligent here to install application postFileCtx->errcode = MHD_HTTP_OK; // or error is something went wrong; |