* See the file LICENSE for details.
*
* $Log: client.c,v $
- * Revision 1.121 2001-04-22 12:26:17 ja7
+ * 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
* if Compiled with Command line history a open command is pushed into
* the command history if yaz-client is startet with a server on the
* command line. eg
req->idAuthentication = auth;
+ req->referenceId = set_refid (out);
+
send_apdu(apdu);
printf("Sent initrequest.\n");
}
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