diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-10 13:53:22 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-10 13:53:22 -0500 |
commit | 3909e27f39a602dcdbbc7dec3f2602b3b1ae402e (patch) | |
tree | 53fd49e273778b9204bc59fc11a400b8c3aef21a /src/http-header-glue.c | |
parent | cbd6d5b38756c3a7ce04722b81f9ae5143455b1c (diff) | |
download | lighttpd-git-3909e27f39a602dcdbbc7dec3f2602b3b1ae402e.tar.gz |
[core] http_response_send_file() takes const path
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r-- | src/http-header-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c index dc57f632..960afe4b 100644 --- a/src/http-header-glue.c +++ b/src/http-header-glue.c @@ -308,7 +308,7 @@ handler_t http_response_reqbody_read_error (request_st * const r, int http_statu } -void http_response_send_file (request_st * const r, buffer * const path, stat_cache_entry *sce) { +void http_response_send_file (request_st * const r, const buffer * const path, stat_cache_entry *sce) { if (NULL == sce || (sce->fd < 0 && __builtin_expect( (0 != sce->st.st_size), 0))) { sce = stat_cache_get_entry_open(path, r->conf.follow_symlink); |