projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SEGV for quit command in cmdfile
[yaz-moved-to-github.git]
/
client
/
client.c
diff --git
a/client/client.c
b/client/client.c
index
732acfc
..
2692a9c
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-435,8
+435,8
@@
static int process_initResponse(Z_InitResponse *res)
else
{
/* Peek at any private Init-diagnostic APDUs */
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);
}
}
odr_reset(print);
@@
-3899,9
+3899,10
@@
static void initialize(const char *rc_file)
cmd_format("usmarc");
cmd_format("usmarc");
+ file_history = file_history_new();
+
source_rc_file(rc_file);
source_rc_file(rc_file);
- file_history = file_history_new();
file_history_load(file_history);
file_history_trav(file_history, 0, add_to_readline_history);
}
file_history_load(file_history);
file_history_trav(file_history, 0, add_to_readline_history);
}