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
Added second half of close-handshake
[yaz-moved-to-github.git]
/
util
/
pquery.c
diff --git
a/util/pquery.c
b/util/pquery.c
index
f2b0d4f
..
1df0a8b
100644
(file)
--- a/
util/pquery.c
+++ b/
util/pquery.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: pquery.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: pquery.c,v $
- * Revision 1.3 1995-06-14 11:06:35 adam
+ * Revision 1.5 1995-06-15 12:31:02 quinn
+ * *** empty log message ***
+ *
+ * Revision 1.4 1995/06/15 07:45:19 quinn
+ * Moving to v3.
+ *
+ * Revision 1.3 1995/06/14 11:06:35 adam
* Bug fix: Attributes wasn't interpreted correctly!
*
* Revision 1.2 1995/05/26 08:56:11 adam
* Bug fix: Attributes wasn't interpreted correctly!
*
* Revision 1.2 1995/05/26 08:56:11 adam
@@
-115,7
+121,13
@@
static Z_AttributesPlusTerm *rpn_term (ODR o, int num_attr, int *attr_list)
zapt->attributeList[i] =
odr_malloc (o,sizeof(**zapt->attributeList));
zapt->attributeList[i]->attributeType = &attr_tmp[2*i];
zapt->attributeList[i] =
odr_malloc (o,sizeof(**zapt->attributeList));
zapt->attributeList[i]->attributeType = &attr_tmp[2*i];
+#ifdef Z_95
+ zapt->attributeList[i]->attributeSet = 0;
+ zapt->attributeList[i]->which = Z_AttributeValue_numeric;
+ zapt->attributeList[i]->value.numeric = &attr_tmp[2*i+1];
+#else
zapt->attributeList[i]->attributeValue = &attr_tmp[2*i+1];
zapt->attributeList[i]->attributeValue = &attr_tmp[2*i+1];
+#endif
}
}
else
}
}
else