diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-31 02:06:41 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-31 02:06:41 +0300 |
commit | 3c7230c191ade30d5b9c8ef02a019ba42ab519f5 (patch) | |
tree | 7e85927e11ae604020c547cfe62c3aaa18cfe6f8 /src/config.c | |
parent | c251b0d5a905f19498e1d3312041b794e57fd2f8 (diff) | |
download | revela-3c7230c191ade30d5b9c8ef02a019ba42ab519f5.tar.gz revela-3c7230c191ade30d5b9c8ef02a019ba42ab519f5.zip |
Ready for packagingv0.1.0
* Documentation
* make install/uninstall
* roscha truthy fix
* Other fixes/improvements
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/config.c b/src/config.c index 1bc531f..a570104 100644 --- a/src/config.c +++ b/src/config.c @@ -126,12 +126,6 @@ site_config_keyvalue_handler(struct parcini_line *parsed, void *dst) &config->base_url)? KV_HANDLER_OK : KV_HANDLER_BADVALUE; } - if (MATCHSK("", "max_previews", parsed)) { - return parcini_value_handle(&parsed->value, PARCINI_VALUE_INTEGER, - &config->max_previews)? - KV_HANDLER_OK : KV_HANDLER_BADVALUE; - } - out: return KV_HANDLER_NOMATCH; @@ -232,7 +226,6 @@ site_config_init(void) { struct site_config *config = calloc(1, sizeof *config); if (config != NULL) { - config->max_previews = 10; config->images = (struct image_config) { .strip = true, .quality = 80, |