projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WS updates. No code changes
[yaz-moved-to-github.git]
/
client
/
client.c
diff --git
a/client/client.c
b/client/client.c
index
2778a5c
..
14aa737
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.289 2005-06-23 13:09:42 adam Exp $
+ * $Id: client.c,v 1.291 2005-06-24 19:56:52 adam Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-2321,10
+2321,7
@@
static int cmd_xmles(const char *arg)
Z_External *ext = (Z_External *) odr_malloc(out, sizeof(*ext));
req->taskSpecificParameters = ext;
Z_External *ext = (Z_External *) odr_malloc(out, sizeof(*ext));
req->taskSpecificParameters = ext;
- ext->direct_reference = req->packageType;
ext->descriptor = 0;
ext->descriptor = 0;
- ext->indirect_reference = 0;
-
ext->which = Z_External_octet;
ext->u.single_ASN1_type = (Odr_oct *) odr_malloc (out, sizeof(Odr_oct));
ext->which = Z_External_octet;
ext->u.single_ASN1_type = (Odr_oct *) odr_malloc (out, sizeof(Odr_oct));
@@
-2347,6
+2344,9
@@
static int cmd_xmles(const char *arg)
return 0;
req->packageType = yaz_oidval_to_z3950oid(out, CLASS_EXTSERV,
oid_value_xmles);
return 0;
req->packageType = yaz_oidval_to_z3950oid(out, CLASS_EXTSERV,
oid_value_xmles);
+
+ ext->direct_reference = yaz_oidval_to_z3950oid(out, CLASS_EXTSERV,
+ oid_value_xmles);
send_apdu(apdu);
return 2;
send_apdu(apdu);
return 2;
@@
-4757,12
+4757,3
@@
int main(int argc, char **argv)
client ();
exit (0);
}
client ();
exit (0);
}
-
-/*
- * Local variables:
- * tab-width: 8
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=8 fdm=marker
- * vim<600: sw=4 ts=8
- */