summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2010-06-19 11:42:12 +0200
committerLars Hjemli <hjemli@gmail.com>2010-06-19 11:42:12 +0200
commitc2766deb67acb1eae2b36dc0f5811a9cabb6db20 (patch)
tree463ea4a4388f2c449dec9eb49b33f9c0942030d1 /cmd.c
parentMerge branch 'lh/noweb' (diff)
parentAdd 'max-atom-items' config variable (diff)
Merge branch 'ag/atom-fixes'
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)