From: Heikki Levanto Date: Mon, 11 Jun 2001 12:54:47 +0000 (+0000) Subject: Displayng diags in EsResponse, even if they should not be there... X-Git-Tag: YAZ.1.8~80 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=6e30fa2d25d57c9551106c1c2713c9da18a9f79d;p=yaz-moved-to-github.git Displayng diags in EsResponse, even if they should not be there... --- diff --git a/client/client.c b/client/client.c index 5782e89..fb70833 100644 --- a/client/client.c +++ b/client/client.c @@ -3,7 +3,10 @@ * See the file LICENSE for details. * * $Log: client.c,v $ - * Revision 1.122 2001-05-16 07:27:29 adam + * Revision 1.123 2001-06-11 12:54:47 heikki + * Displayng diags in EsResponse, even if they should not be there... + * + * Revision 1.122 2001/05/16 07:27:29 adam * Reference id set for InitRequest. * * Revision 1.121 2001/04/22 12:26:17 ja7 @@ -1334,6 +1337,11 @@ void process_ESResponse(Z_ExtendedServicesResponse *res) display_diagrecs(res->diagnostics, res->num_diagnostics); break; } + if ( (*res->operationStatus != Z_ExtendedServicesResponse_failure) && + (res->num_diagnostics != 0) ) { + display_diagrecs(res->diagnostics, res->num_diagnostics); + } + } #if YAZ_MODULE_ill