aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/http_static/http_static.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-02-07 16:24:43 -0800
committerFlorin Coras <fcoras@cisco.com>2022-02-08 16:44:06 -0800
commit023521fcb6713e1151a04e4358bb58695dd6e479 (patch)
treeb225ec176e85301ebb1e6b60f17055c0526a60ea /src/plugins/http_static/http_static.c
parent48bdf24ad2a1266f8c6bf4932b92d0165f370171 (diff)
http_static: cleanup file handler and cache
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I7aff3a02315f9f92039dd2e3af1cbd8312aec662
Diffstat (limited to 'src/plugins/http_static/http_static.c')
-rw-r--r--src/plugins/http_static/http_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/http_static/http_static.c b/src/plugins/http_static/http_static.c
index 4afe42291db..005eefc731c 100644
--- a/src/plugins/http_static/http_static.c
+++ b/src/plugins/http_static/http_static.c
@@ -73,7 +73,7 @@ hss_enable_api (u32 fifo_size, u32 cache_limit, u32 prealloc_fifos,
int rv;
hsm->fifo_size = fifo_size;
- hsm->cache_limit = cache_limit;
+ hsm->cache_size = cache_limit;
hsm->prealloc_fifos = prealloc_fifos;
hsm->private_segment_size = private_segment_size;
hsm->www_root = format (0, "%s%c", www_root, 0);