mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
Constify filemap_entry argument to filemap_serve()
This commit is contained in:
parent
5e21de3a4c
commit
5ddfc2131c
@ -39,7 +39,7 @@ struct filemap_entry {
|
||||
|
||||
int filemap_resolve(struct http_request *);
|
||||
|
||||
static void filemap_serve(struct http_request *, struct filemap_entry *);
|
||||
static void filemap_serve(struct http_request *, const struct filemap_entry *);
|
||||
|
||||
static TAILQ_HEAD(, filemap_entry) maps;
|
||||
|
||||
@ -177,7 +177,7 @@ filemap_resolve(struct http_request *req)
|
||||
}
|
||||
|
||||
static void
|
||||
filemap_serve(struct http_request *req, struct filemap_entry *map)
|
||||
filemap_serve(struct http_request *req, const struct filemap_entry *map)
|
||||
{
|
||||
struct stat st;
|
||||
struct connection *c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user