From 6e30fa2d25d57c9551106c1c2713c9da18a9f79d Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Mon, 11 Jun 2001 12:54:47 +0000 Subject: [PATCH] Displayng diags in EsResponse, even if they should not be there... --- client/client.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 1.7.10.4