From: Sebastian Hammer Date: Mon, 27 Nov 2006 19:50:25 +0000 (+0000) Subject: Fixed parameters to show() as called from command.c X-Git-Tag: before.append.child~122 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b3c54e314dfb4cb2408079a4b6f6225a4d4c9c30;p=pazpar2-moved-to-github.git Fixed parameters to show() as called from command.c --- 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++) {