Fixed parameters to show() as called from command.c
authorSebastian Hammer <quinn@indexdata.com>
Mon, 27 Nov 2006 19:50:25 +0000 (19:50 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Mon, 27 Nov 2006 19:50:25 +0000 (19:50 +0000)
command.c

index d2cc4a4..762e18b 100644 (file)
--- 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 <stdio.h>
 #include <sys/socket.h>
@@ -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++)
     {