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
Fixed bug in f_queryTypeDetails.
[yaz-moved-to-github.git]
/
retrieval
/
d1_expout.c
diff --git
a/retrieval/d1_expout.c
b/retrieval/d1_expout.c
index
48ef3c7
..
4f06357
100644
(file)
--- a/
retrieval/d1_expout.c
+++ b/
retrieval/d1_expout.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_expout.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_expout.c,v $
- * Revision 1.12 1998-05-18 13:07:04 adam
+ * Revision 1.14 1998-06-08 14:26:41 adam
+ * Fixed bug in f_queryTypeDetails.
+ *
+ * Revision 1.13 1998/06/05 08:58:48 adam
+ * Fixed un-initialised var in f_rpnCapabilities.
+ *
+ * Revision 1.12 1998/05/18 13:07:04 adam
* Changed the way attribute sets are handled by the retriaval module.
* Extended Explain conversion / schema.
* Modified server and client to work with ASN.1 compiled protocol handlers.
* Changed the way attribute sets are handled by the retriaval module.
* Extended Explain conversion / schema.
* Modified server and client to work with ASN.1 compiled protocol handlers.
@@
-280,9
+286,9
@@
Z_RpnCapabilities *f_rpnCapabilities (ExpHandle *eh, data1_node *n)
res->restrictionOperandSupported = eh->false_value;
res->proximity = NULL;
res->restrictionOperandSupported = eh->false_value;
res->proximity = NULL;
- for (c = n->child; n; c = c->next)
+ for (c = n->child; c; c = c->next)
{
{
- int i;
+ int i = 0;
switch (is_numeric_tag(eh, c))
{
case 550:
switch (is_numeric_tag(eh, c))
{
case 550:
@@
-327,7
+333,7
@@
Z_QueryTypeDetails *f_queryTypeDetails (ExpHandle *eh, data1_node *n)
res->u.rpn = 0;
for (c = n->child; c; c = c->next)
{
res->u.rpn = 0;
for (c = n->child; c; c = c->next)
{
- switch (is_numeric_tag(eh, n))
+ switch (is_numeric_tag(eh, c))
{
case 519:
res->which = Z_QueryTypeDetails_rpn;
{
case 519:
res->which = Z_QueryTypeDetails_rpn;