From: Mike Taylor Date: Fri, 18 Jul 2003 22:41:25 +0000 (+0000) Subject: Tidy up debugging output X-Git-Tag: YAZ.2.0.4~19 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=0442642bb213139271943552e5c1bc731ee96872 Tidy up debugging output --- diff --git a/client/client.c b/client/client.c index 3eae707..8374707 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.203 2003-07-18 19:54:30 mike Exp $ + * $Id: client.c,v 1.204 2003-07-18 22:41:25 mike Exp $ */ #include @@ -343,10 +343,8 @@ static int process_initResponse(Z_InitResponse *res) { printf("Guessing visiblestring:\n"); printf("'%s'\n", uif->u. octet_aligned->buf); - } else if (uif->which == Z_External_single -// && oid_is(uif->direct_reference, "1.2.840.10003.10.1000.17.1") - ) { - /* FirstSearch's crappy private init-diagnostic OID */ + } else if (uif->which == Z_External_single) { + /* Peek at any private Init-diagnostic APDUs */ Odr_any *sat = uif->u.single_ASN1_type; printf("### NAUGHTY: External is '%s'\n", sat->buf); }