Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
set download path
[src/app-framework-binder.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
d8065e4
..
e899739
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-516,6
+516,11
@@
static struct afb_hsrv *start_http_server(struct afb_config * config)
int rc;
struct afb_hsrv *hsrv;
int rc;
struct afb_hsrv *hsrv;
+ if (afb_hreq_init_download_path("/tmp")) { /* TODO: sessiondir? */
+ fprintf(stderr, "unable to set the tmp directory\n");
+ return NULL;
+ }
+
hsrv = afb_hsrv_create();
if (hsrv == NULL) {
fprintf(stderr, "memory allocation failure\n");
hsrv = afb_hsrv_create();
if (hsrv == NULL) {
fprintf(stderr, "memory allocation failure\n");