projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d628af
)
Fix type of len var
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 May 2003 11:35:46 +0000
(11:35 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 May 2003 11:35:46 +0000
(11:35 +0000)
zoom/zoomsh.c
patch
|
blob
|
history
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
54ebda2
..
2983b43
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-1,5
+1,5
@@
/*
- * $Id: zoomsh.c,v 1.19 2003-04-23 20:39:25 adam Exp $
+ * $Id: zoomsh.c,v 1.20 2003-05-26 11:35:46 adam Exp $
*
* ZOOM-C Shell
*/
@@
-341,8
+341,8
@@
static void cmd_scan (ZOOM_connection *c, ZOOM_resultset *r,
size_t p, sz = ZOOM_scanset_size(s[i]);
for (p = 0; p < sz; p++)
{
- int occ = 0;
- size_t len = 0;
+ int occ = 0;
+ int len = 0;
const char *term = ZOOM_scanset_term(s[i], p, &occ, &len);
fwrite(term, 1, len, stdout);
printf (" %d\n", occ);