aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorAaron Griffin <agriffin@datalogics.com>2010-02-05 01:08:16 +0100
committerLars Hjemli <hjemli@gmail.com>2010-03-22 23:46:00 +0100
commit80476b0d2873eb212fad38487fd6189bd6629cbe (patch)
treebdacb5527659ebb8296e95dfbe3ea5f74fe3a9ac /cmd.c
parent65ced7c00907af7e8bd5d239a4fa854a84535520 (diff)
downloadcgit-80476b0d2873eb212fad38487fd6189bd6629cbe.tar.gz
cgit-80476b0d2873eb212fad38487fd6189bd6629cbe.tar.xz
Add 'max-atom-items' config variable
This allows one to specify the items in the RSS feeds Signed-off-by: Aaron Griffin <agriffin@datalogics.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 766f903..ad784fc 100644
--- a/cmd.c
+++ b/cmd.c
@@ -33,7 +33,7 @@ static void HEAD_fn(struct cgit_context *ctx)
static void atom_fn(struct cgit_context *ctx)
{
- cgit_print_atom(ctx->qry.head, ctx->qry.path, 10);
+ cgit_print_atom(ctx->qry.head, ctx->qry.path, ctx->cfg.max_atom_items);
}
static void about_fn(struct cgit_context *ctx)