X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fyaz-proxy.cpp;h=61fc74865554369b35c58918f81e48603a6fe0a4;hb=c36ba47d8eb3202dfad0233c47c3e707c49bfd93;hp=b1d6e0e8fce4f36bd4b9020ebd12ea6a04ad1b5b;hpb=0e4148ba1e09e25bea2fa1403bf720860a308082;p=yazpp-moved-to-github.git diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index b1d6e0e..61fc748 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2001, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy.cpp,v 1.32 2002-08-28 13:01:41 adam Exp $ + * $Id: yaz-proxy.cpp,v 1.33 2002-09-10 11:30:54 adam Exp $ */ #include @@ -303,7 +303,7 @@ Z_APDU *Yaz_Proxy::result_set_optimize(Z_APDU *apdu) return new_apdu; } else if (m_client->m_last_resultCount >= *sr->largeSetLowerBound || - m_client->m_last_resultCount == 0) + m_client->m_last_resultCount <= 0) { // large set. Return pseudo-search response immediately yaz_log (LOG_LOG, "Optimizing search for large set");