summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_expire.c b/src/mod_expire.c
index 221bb537..d0f771bf 100644
--- a/src/mod_expire.c
+++ b/src/mod_expire.c
@@ -352,7 +352,7 @@ CONNECTION_FUNC(mod_expire_handler) {
vb = http_header_response_get(con, HTTP_HEADER_CONTENT_TYPE, CONST_STR_LEN("Content-Type"));
ds = (NULL != vb)
? (data_string *)array_match_key_prefix(p->conf.expire_mimetypes, vb)
- : (data_string *)array_match_key_prefix_klen(p->conf.expire_mimetypes, CONST_STR_LEN(""));
+ : (data_string *)array_get_element_klen(p->conf.expire_mimetypes, CONST_STR_LEN(""));
if (NULL == ds) return HANDLER_GO_ON;
vb = ds->value;
}