Unidiff1 files changed, 2 insertions, 2 deletions
|
diff --git a/shared.c b/shared.c index 65fc8b2..ccbde27 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -157,3 +157,3 @@ void cgit_global_config_cb(const char *name, const char *value) |
157 | else if (!strcmp(name, "snapshots")) |
157 | else if (!strcmp(name, "snapshots")) |
158 | cgit_snapshots = atoi(value); |
158 | cgit_snapshots = cgit_parse_snapshots_mask(value); |
159 | else if (!strcmp(name, "enable-index-links")) |
159 | else if (!strcmp(name, "enable-index-links")) |
@@ -199,3 +199,3 @@ void cgit_global_config_cb(const char *name, const char *value) |
199 | else if (cgit_repo && !strcmp(name, "repo.snapshots")) |
199 | else if (cgit_repo && !strcmp(name, "repo.snapshots")) |
200 | cgit_repo->snapshots = cgit_snapshots * atoi(value); |
200 | cgit_repo->snapshots = cgit_snapshots & cgit_parse_snapshots_mask(value); /* XXX: &? */ |
201 | else if (cgit_repo && !strcmp(name, "repo.enable-log-filecount")) |
201 | else if (cgit_repo && !strcmp(name, "repo.enable-log-filecount")) |
|