X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=e899739c8c8ec0548b2314381446c57ac13eed0a;hb=abbe8f79355cc7aa2ef906c626c1a43ea4762d88;hp=d8065e42613bad611bcacd05eef9a6fd23212006;hpb=bd375330fe7e3d79495762bcc7c86d907a453aae;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index d8065e42..e899739c 100644 --- 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; + 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");