projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117cefc
)
Fixed parameters to show() as called from command.c
author
Sebastian Hammer
<quinn@indexdata.com>
Mon, 27 Nov 2006 19:50:25 +0000
(19:50 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Mon, 27 Nov 2006 19:50:25 +0000
(19:50 +0000)
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/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++)
{