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:
6e27325
)
Allow command to send extended service package
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Nov 2003 23:19:59 +0000
(23:19 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Nov 2003 23:19:59 +0000
(23:19 +0000)
zoom/zoomsh.c
patch
|
blob
|
history
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
aaf6899
..
20894e0
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: zoomsh.c,v 1.23 2003-07-14 12:59:23 adam Exp $
+ * $Id: zoomsh.c,v 1.24 2003-11-25 23:19:59 adam Exp $
*
* ZOOM-C Shell
*/
*
* ZOOM-C Shell
*/
@@
-220,15
+220,19
@@
static void cmd_ext (ZOOM_connection *c, ZOOM_resultset *r,
const char **args)
{
ZOOM_package p[MAX_CON];
const char **args)
{
ZOOM_package p[MAX_CON];
+ char ext_type_str[10];
int i;
int i;
+
+ if (next_token_copy (args, ext_type_str, sizeof(ext_type_str)) < 0)
+ return;
for (i = 0; i<MAX_CON; i++)
{
if (c[i])
{
p[i] = ZOOM_connection_package (c[i], 0);
for (i = 0; i<MAX_CON; i++)
{
if (c[i])
{
p[i] = ZOOM_connection_package (c[i], 0);
- ZOOM_package_send(p[i], "itemorder");
+ ZOOM_package_send(p[i], ext_type_str);
}
else
p[i] = 0;
}
else
p[i] = 0;