summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-04 16:54:46 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-04 16:54:46 +0100
commitcf9c6c30f1328f8804f55896b3fcfcd1f5ae0212 (patch)
treebe130c24f3781cbd898e44db402e56512158f2c9 /file.c
parentb3032f838002b5aa650891df850e5dd45c3e8fbf (diff)
constify mimetype list
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 5287748..372696c 100644
--- a/file.c
+++ b/file.c
@@ -252,7 +252,7 @@ uh_path_lookup(struct client *cl, const char *url)
static const char * uh_file_mime_lookup(const char *path)
{
- struct mimetype *m = &uh_mime_types[0];
+ const struct mimetype *m = &uh_mime_types[0];
const char *e;
while (m->extn) {