diff options
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}
};
|
