From 9b0e1609c6094b03dbaf6c6f2d0e7e37543d2b93 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 14 Oct 2003 20:19:43 +0000 Subject: [PATCH] Better check for piggyback/record syntax check --- src/yaz-proxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 0752440..c726985 100644 --- 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. * - * $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 @@ -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 (*sr->smallSetUpperBound > 0 || *sr->largeSetLowerBound > 1) + if (*sr->smallSetUpperBound > 0 || *sr->mediumSetPresentNumber > 0) { int err = 0; char *addinfo = 0; -- 1.7.10.4