]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
ui-stats: replace 'enable-stats' setting with 'max-stats'
[ps-cgit] / shared.c
index 37333f0a4018b89c80d8a064c42e7965794ee8d2..73826090669d2bfc8e6d59842e5212c7040230c4 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -58,7 +58,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
        ret->snapshots = ctx.cfg.snapshots;
        ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
        ret->enable_log_linecount = ctx.cfg.enable_log_linecount;
-       ret->enable_stats = ctx.cfg.enable_stats;
+       ret->max_stats = ctx.cfg.max_stats;
        ret->module_link = ctx.cfg.module_link;
        ret->readme = NULL;
        return ret;