From b3c54e314dfb4cb2408079a4b6f6225a4d4c9c30 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Mon, 27 Nov 2006 19:50:25 +0000 Subject: [PATCH] Fixed parameters to show() as called from command.c --- command.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/command.c b/command.c index d2cc4a4..762e18b 100644 --- a/command.c +++ b/command.c @@ -1,4 +1,4 @@ -/* $Id: command.c,v 1.3 2006-11-20 19:46:40 quinn Exp $ */ +/* $Id: command.c,v 1.4 2006-11-27 19:50:25 quinn Exp $ */ #include #include @@ -86,12 +86,13 @@ static int cmd_show(struct command_session *s, char **argv, int argc) { struct record **recs; int num = 10; + int merged, total; int i; if (argc == 2) num = atoi(argv[1]); - recs = show(s->psession, 0, &num); + recs = show(s->psession, 0, &num, &merged, &total); for (i = 0; i < num; i++) { -- 1.7.10.4