Unidiff1 files changed, 2 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index 64d95f9..2aef44d 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -71,6 +71,8 @@ void config_cb(const char *name, const char *value) |
71 | ctx.cfg.cache_static_ttl = atoi(value); |
71 | ctx.cfg.cache_static_ttl = atoi(value); |
72 | else if (!strcmp(name, "cache-dynamic-ttl")) |
72 | else if (!strcmp(name, "cache-dynamic-ttl")) |
73 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
73 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
| |
74 | else if (!strcmp(name, "embedded")) |
| |
75 | ctx.cfg.embedded = atoi(value); |
74 | else if (!strcmp(name, "max-message-length")) |
76 | else if (!strcmp(name, "max-message-length")) |
75 | ctx.cfg.max_msg_len = atoi(value); |
77 | ctx.cfg.max_msg_len = atoi(value); |
76 | else if (!strcmp(name, "max-repodesc-length")) |
78 | else if (!strcmp(name, "max-repodesc-length")) |
|