Better message when receiving an unrecognised userInformationField.
authorMike Taylor <mike@miketaylor.org.uk>
Tue, 28 Jul 2009 09:27:39 +0000 (10:27 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Tue, 28 Jul 2009 09:27:39 +0000 (10:27 +0100)
client/client.c

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);