aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 8c36057..f7e5d64 100644
--- a/src/net.h
+++ b/src/net.h
@@ -53,8 +53,9 @@ static const luaL_Reg net_function_list [] = {
};
extern char* _mimetypes;
+extern uint64_t _mimetypes_len;
static struct config net_config[] = {
- {.name = "mimetypes", .type = c_string, .value = {.c_string = &_mimetypes}},
+ {.name = "mimetypes", .type = c_string, .value = {.c_string = &_mimetypes, .len = &_mimetypes_len}},
{.type = c_none}
};