From: Adam Dickmeiss Date: Tue, 30 Mar 2004 14:25:41 +0000 (+0000) Subject: For proxy, avoid duplicate diagnostic 7: query X-Git-Tag: YAZPP.0.8~32 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c7caba704e90cd95f6312c46e357fbe1e2bc7314;p=yazpp-moved-to-github.git For proxy, avoid duplicate diagnostic 7: query --- diff --git a/proxy/yaz-proxy.cpp b/proxy/yaz-proxy.cpp index 8f1a715..25cd9c2 100644 --- a/proxy/yaz-proxy.cpp +++ b/proxy/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.2 2004-03-30 09:05:54 adam Exp $ +/* $Id: yaz-proxy.cpp,v 1.3 2004-03-30 14:25:41 adam Exp $ Copyright (c) 1998-2004, Index Data. This file is part of the yaz-proxy. @@ -1734,13 +1734,6 @@ void Yaz_Proxy::handle_incoming_HTTP(Z_HTTP_Request *hreq) &diagnostic, &num_diagnostic, 72, 0); } - // must have a query - if (!srw_req->query.cql) - { - yaz_add_srw_diagnostic(odr_decode(), - &diagnostic, &num_diagnostic, - 7, "query"); - } // sort unsupported if (srw_req->sort_type != Z_SRW_sort_type_none) {