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
Minor change of print of item update info.
[yaz-moved-to-github.git]
/
ztest
/
ztest.c
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
c3df75a
..
32595fe
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-6,7
+6,13
@@
* Chas Woodfield, Fretwell Downing Datasystems.
*
* $Log: ztest.c,v $
* Chas Woodfield, Fretwell Downing Datasystems.
*
* $Log: ztest.c,v $
- * Revision 1.37 2001-02-20 11:25:32 adam
+ * Revision 1.39 2001-03-12 14:40:57 adam
+ * Minor change of print of item update info.
+ *
+ * Revision 1.38 2001/02/21 13:46:54 adam
+ * C++ fixes.
+ *
+ * Revision 1.37 2001/02/20 11:25:32 adam
* Added ill_get_APDU and ill_get_Cancel.
*
* Revision 1.36 2001/01/30 21:34:18 adam
* Added ill_get_APDU and ill_get_Cancel.
*
* Revision 1.36 2001/01/30 21:34:18 adam
@@
-220,7
+226,7
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
if (r->which == ODR_EXTERNAL_single)
{
odr_setbuf(rr->decode,
if (r->which == ODR_EXTERNAL_single)
{
odr_setbuf(rr->decode,
- r->u.single_ASN1_type->buf,
+ (char *) r->u.single_ASN1_type->buf,
r->u.single_ASN1_type->len, 0);
if (!ill_ItemRequest (rr->decode, &item_req, 0, 0))
r->u.single_ASN1_type->len, 0);
if (!ill_ItemRequest (rr->decode, &item_req, 0, 0))
@@
-249,7
+255,7
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
{
yaz_log (LOG_LOG, "Decode ILL APDU begin");
odr_setbuf(rr->decode,
{
yaz_log (LOG_LOG, "Decode ILL APDU begin");
odr_setbuf(rr->decode,
- r->u.single_ASN1_type->buf,
+ (char*) r->u.single_ASN1_type->buf,
r->u.single_ASN1_type->len, 0);
if (!ill_APDU (rr->decode, &ill_apdu, 0, 0))
r->u.single_ASN1_type->len, 0);
if (!ill_APDU (rr->decode, &ill_apdu, 0, 0))
@@
-260,7
+266,7
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
odr_offset(rr->decode));
yaz_log(LOG_LOG, "PDU dump:");
odr_dumpBER(yaz_log_file(),
odr_offset(rr->decode));
yaz_log(LOG_LOG, "PDU dump:");
odr_dumpBER(yaz_log_file(),
- r->u.single_ASN1_type->buf,
+ (char *) r->u.single_ASN1_type->buf,
r->u.single_ASN1_type->len);
}
else
r->u.single_ASN1_type->len);
}
else
@@
-304,7
+310,7
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
yaz_log (LOG_LOG, " recordInsert");
break;
case Z_IUOriginPartToKeep_recordReplace:
yaz_log (LOG_LOG, " recordInsert");
break;
case Z_IUOriginPartToKeep_recordReplace:
- yaz_log (LOG_LOG, " recordUpdate");
+ yaz_log (LOG_LOG, " recordReplace");
break;
case Z_IUOriginPartToKeep_recordDelete:
yaz_log (LOG_LOG, " recordDelete");
break;
case Z_IUOriginPartToKeep_recordDelete:
yaz_log (LOG_LOG, " recordDelete");