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
Second attempt to fix same bug.
[yaz-moved-to-github.git]
/
server
/
seshigh.c
diff --git
a/server/seshigh.c
b/server/seshigh.c
index
2317a56
..
9c89f0d
100644
(file)
--- a/
server/seshigh.c
+++ b/
server/seshigh.c
@@
-4,8
+4,8
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: seshigh.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: seshigh.c,v $
- * Revision 1.51 1995-11-01 11:56:37 quinn
- * Fixed bug in elementsetname-handling in piggybacked presents.
+ * Revision 1.52 1995-11-01 12:19:13 quinn
+ * Second attempt to fix same bug.
*
* Revision 1.50 1995/10/25 16:58:32 quinn
* Simple.
*
* Revision 1.50 1995/10/25 16:58:32 quinn
* Simple.
@@
-1058,16
+1058,16
@@
static Z_APDU *response_searchRequest(association *assoc, request *reqb,
if (bsrt->hits <= *req->smallSetUpperBound)
{
toget = bsrt->hits;
if (bsrt->hits <= *req->smallSetUpperBound)
{
toget = bsrt->hits;
- comp.u.simple = req->smallSetElementSetNames;
- compp = ∁
+ if ((comp.u.simple = req->smallSetElementSetNames))
+ compp = ∁
}
else if (bsrt->hits < *req->largeSetLowerBound)
{
toget = *req->mediumSetPresentNumber;
if (toget > bsrt->hits)
toget = bsrt->hits;
}
else if (bsrt->hits < *req->largeSetLowerBound)
{
toget = *req->mediumSetPresentNumber;
if (toget > bsrt->hits)
toget = bsrt->hits;
- comp.u.simple = req->mediumSetElementSetNames;
- compp = ∁
+ if ((comp.u.simple = req->mediumSetElementSetNames))
+ compp = ∁
}
else
toget = 0;
}
else
toget = 0;