X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=3f95c53293eaf1be05e92fbb82c34660c43c2f1a;hb=8449480d29d2e03d9094ddce82557b251deb6567;hp=badddd1e812045e971210995b7b71e123805815c;hpb=8d036c20b1e6e6134817bfc4cb152e4e2469dba5;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index badddd1e..3f95c532 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -380,7 +380,7 @@ int afb_hreq_reply_file_if_exist(struct afb_hreq *hreq, int dirfd, const char *f } /* fills the value and send */ - MHD_add_response_header(response, MHD_HTTP_HEADER_CACHE_CONTROL, hreq->session->cacheTimeout); + MHD_add_response_header(response, MHD_HTTP_HEADER_CACHE_CONTROL, hreq->cacheTimeout); MHD_add_response_header(response, MHD_HTTP_HEADER_ETAG, etag); MHD_queue_response(hreq->connection, status, response); MHD_destroy_response(response);