projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d94ff2f
)
Better check for piggyback/record syntax check
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 14 Oct 2003 20:19:43 +0000
(20:19 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 14 Oct 2003 20:19:43 +0000
(20:19 +0000)
src/yaz-proxy.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.cpp
b/src/yaz-proxy.cpp
index
0752440
..
c726985
100644
(file)
--- a/
src/yaz-proxy.cpp
+++ b/
src/yaz-proxy.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.58 2003-10-13 22:38:07 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.59 2003-10-14 20:19:43 adam Exp $
*/
#include <assert.h>
*/
#include <assert.h>
@@
-985,7
+985,7
@@
Z_APDU *Yaz_Proxy::handle_syntax_validation(Z_APDU *apdu)
if (apdu->which == Z_APDU_searchRequest)
{
Z_SearchRequest *sr = apdu->u.searchRequest;
if (apdu->which == Z_APDU_searchRequest)
{
Z_SearchRequest *sr = apdu->u.searchRequest;
- if (*sr->smallSetUpperBound > 0 || *sr->largeSetLowerBound > 1)
+ if (*sr->smallSetUpperBound > 0 || *sr->mediumSetPresentNumber > 0)
{
int err = 0;
char *addinfo = 0;
{
int err = 0;
char *addinfo = 0;