Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
authorMike Taylor <mike@miketaylor.org.uk>
Thu, 20 Aug 2009 08:16:05 +0000 (09:16 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Thu, 20 Aug 2009 08:16:05 +0000 (09:16 +0100)
NEWS
client/client.c

diff --git a/NEWS b/NEWS
index c6ba5e7..b1cca1f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+--- [IN PROGRESS]
+
+yaz-client emits a better message when receiving an unrecognised
+userInformationField.
+
 --- 3.0.47 2009/07/08
 
 Function yaz_xml2query allows a diagnostic element in the PQF XML
index 732acfc..cea207c 100644 (file)
@@ -435,8 +435,8 @@ static int process_initResponse(Z_InitResponse *res)
                 else
                 {
                     /* Peek at any private Init-diagnostic APDUs */
-                    printf("### NAUGHTY: External is '%.*s'\n",
-                           sat->len, sat->buf);
+                    printf("yaz-client ignoring unrecognised userInformationField: %d-octet External '%.*s'\n",
+                           (int) sat->len, sat->len, sat->buf);
                 }
             }
             odr_reset(print);