diff options
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| @@ -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")) | 
