diff options
| author | ame <[email protected]> | 2025-06-14 00:11:36 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-06-14 00:11:36 -0500 |
| commit | a6ef270ed5d1224f72fb5f08e687b6aec572a2b5 (patch) | |
| tree | 6e7c31951d5054fca1ca7a22828d7bb63b5c11d5 /src/net.h | |
| parent | 2efda12fcae7869bc3cc8782dbcaceae65d251f8 (diff) | |
fix config using strings
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}
};
|
