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
Implemented date and time structure. Changed the Update Extended
[yaz-moved-to-github.git]
/
asn
/
prt-add.c
diff --git
a/asn/prt-add.c
b/asn/prt-add.c
index
12ed494
..
eb23dbf
100644
(file)
--- a/
asn/prt-add.c
+++ b/
asn/prt-add.c
@@
-1,10
+1,16
@@
/*
/*
- * Copyright (c) 1995, Index Data
+ * Copyright (c) 1995-1998, Index Data
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: prt-add.c,v $
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: prt-add.c,v $
- * Revision 1.1 1996-10-10 11:52:18 quinn
+ * Revision 1.3 1998-01-05 09:04:57 adam
+ * Fixed bugs in encoders/decoders - Not operator (!) missing.
+ *
+ * Revision 1.2 1997/04/30 08:52:02 quinn
+ * Null
+ *
+ * Revision 1.1 1996/10/10 11:52:18 quinn
* Added SearchResult additionalInfo
*
*
* Added SearchResult additionalInfo
*
*
@@
-14,7
+20,7
@@
int z_ResultsByDBList (ODR o, Z_ResultsByDBList **p, int opt)
{
int z_ResultsByDBList (ODR o, Z_ResultsByDBList **p, int opt)
{
- if (odr_initmember (o, p, sizeof(**p)))
+ if (!odr_initmember (o, p, sizeof(**p)))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_DatabaseName, &(*p)->elements,
&(*p)->num))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_DatabaseName, &(*p)->elements,
&(*p)->num))
@@
-45,7
+51,7
@@
int z_ResultsByDB_elem (ODR o, Z_ResultsByDB_elem **p, int opt)
int z_ResultsByDB (ODR o, Z_ResultsByDB **p, int opt)
{
int z_ResultsByDB (ODR o, Z_ResultsByDB **p, int opt)
{
- if (odr_initmember (o, p, sizeof(**p)))
+ if (!odr_initmember (o, p, sizeof(**p)))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_ResultsByDB_elem, &(*p)->elements,
&(*p)->num))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_ResultsByDB_elem, &(*p)->elements,
&(*p)->num))
@@
-108,7
+114,7
@@
int z_SearchInfoReport_elem (ODR o, Z_SearchInfoReport_elem **p, int opt)
int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt)
{
int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt)
{
- if (odr_initmember (o, p, sizeof(**p)))
+ if (!odr_initmember (o, p, sizeof(**p)))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_SearchInfoReport_elem, &(*p)->elements,
&(*p)->num))
return opt && odr_ok(o);
if (odr_sequence_of (o, z_SearchInfoReport_elem, &(*p)->elements,
&(*p)->num))