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
Making data1 look for tables in data1_tabpath
[yaz-moved-to-github.git]
/
client
/
client.c
diff --git
a/client/client.c
b/client/client.c
index
fd12e2d
..
b92f15e
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: client.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: client.c,v $
- * Revision 1.22 1995-10-11 14:49:12 quinn
+ * Revision 1.24 1995-10-30 12:41:13 quinn
+ * Added hostname lookup for server.
+ *
+ * Revision 1.23 1995/10/18 16:12:30 quinn
+ * Better diagnostics.
+ *
+ * Revision 1.22 1995/10/11 14:49:12 quinn
* Smallish.
*
* Revision 1.21 1995/09/29 17:01:47 quinn
* Smallish.
*
* Revision 1.21 1995/09/29 17:01:47 quinn
@@
-665,13
+671,13
@@
void process_close(Z_Close *req)
{
"finished",
"shutdown",
{
"finished",
"shutdown",
- "systemProblem",
- "costLimit",
+ "system problem",
+ "cost limit reached",
"resources",
"resources",
- "securityViolation",
+ "security violation",
"protocolError",
"protocolError",
- "lackOfActivity",
- "peerAbort",
+ "lack of activity",
+ "peer abort",
"unspecified"
};
"unspecified"
};
@@
-1002,6
+1008,7
@@
static int client(void)
if (!z_APDU(in, &apdu, 0))
{
odr_perror(in, "Decoding incoming APDU");
if (!z_APDU(in, &apdu, 0))
{
odr_perror(in, "Decoding incoming APDU");
+ fprintf(stderr, "[Near %d]\n", odr_offset(in));
fprintf(stderr, "Packet dump:\n---------\n");
odr_dumpBER(stderr, netbuffer, res);
fprintf(stderr, "---------\n");
fprintf(stderr, "Packet dump:\n---------\n");
odr_dumpBER(stderr, netbuffer, res);
fprintf(stderr, "---------\n");