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
Work.
[yaz-moved-to-github.git]
/
server
/
seshigh.c
diff --git
a/server/seshigh.c
b/server/seshigh.c
index
3ebb06f
..
0082e71
100644
(file)
--- a/
server/seshigh.c
+++ b/
server/seshigh.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: seshigh.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: seshigh.c,v $
- * Revision 1.53 1995-11-01 13:54:58 quinn
+ * Revision 1.55 1995-11-08 17:41:37 quinn
+ * Smallish.
+ *
+ * Revision 1.54 1995/11/08 15:11:29 quinn
+ * Log of close transmit.
+ *
+ * Revision 1.53 1995/11/01 13:54:58 quinn
* Minor adjustments
*
* Revision 1.52 1995/11/01 12:19:13 quinn
* Minor adjustments
*
* Revision 1.52 1995/11/01 12:19:13 quinn
@@
-323,7
+329,8
@@
static void do_close(association *a, int reason, char *message)
while (request_deq(&a->outgoing));
if (a->version >= 3)
{
while (request_deq(&a->outgoing));
if (a->version >= 3)
{
- logf(LOG_DEBUG, "Generating Close PDU");
+ logf(LOG_LOG, "Sending Close PDU, reason=%d, message=%s",
+ reason, message ? message : "none");
apdu.which = Z_APDU_close;
apdu.u.close = cls;
*cls->closeReason = reason;
apdu.which = Z_APDU_close;
apdu.u.close = cls;
*cls->closeReason = reason;
@@
-448,7
+455,7
@@
void ir_session(IOCHAN h, int event)
break;
case 0: /* all sent - release the request structure */
logf(LOG_DEBUG, "Wrote PDU, %d bytes", req->len_response);
break;
case 0: /* all sent - release the request structure */
logf(LOG_DEBUG, "Wrote PDU, %d bytes", req->len_response);
- odr_release_mem(req->request_mem);
+ nmem_destroy(req->request_mem);
request_deq(&assoc->outgoing);
request_release(req);
if (!request_head(&assoc->outgoing))
request_deq(&assoc->outgoing);
request_release(req);
if (!request_head(&assoc->outgoing))