X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=queue.c;h=84a589ff4a44dfb98b6b60ae940a03c02e58f5fa;hb=b90b777cd7b6b064f573d1a4475cf0ab8c66e8d2;hp=8baebe98f6f7f16fa81022397f44ab289868031b;hpb=534e39b7986d6cbbfac1c99bcca97d8d1fb5e990;p=ir-tcl-moved-to-github.git diff --git a/queue.c b/queue.c index 8baebe9..84a589f 100644 --- a/queue.c +++ b/queue.c @@ -6,7 +6,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: queue.c,v $ - * Revision 1.8 1996-03-05 09:21:20 adam + * Revision 1.10 1996-06-03 09:04:24 adam + * Changed a few logf calls. + * + * Revision 1.9 1996/03/20 13:54:05 adam + * The Tcl_File structure is only manipulated in the Tk-event interface + * in tkinit.c. + * + * Revision 1.8 1996/03/05 09:21:20 adam * Bug fix: memory used by GRS records wasn't freed. * Rewrote some of the error handling code - the connection is always * closed before failback is called. @@ -77,7 +84,7 @@ int ir_tcl_send_APDU (Tcl_Interp *interp, IrTcl_Obj *p, Z_APDU *apdu, odr_reset (p->odr_out); if (p->state == IR_TCL_R_Idle) { - logf (LOG_DEBUG, "send_apdu. Sending %s", msg); + logf (LOG_DEBUG, "APDU send %s", msg); if (ir_tcl_send_q (p, p->request_queue, msg) == TCL_ERROR) { if (p->failback) @@ -95,7 +102,7 @@ int ir_tcl_send_APDU (Tcl_Interp *interp, IrTcl_Obj *p, Z_APDU *apdu, } } else - logf (LOG_DEBUG, "send_apdu. Not idle (%s)", msg); + logf (LOG_DEBUG, "APDU pending %s", msg); return TCL_OK; } @@ -109,11 +116,7 @@ int ir_tcl_send_q (IrTcl_Obj *p, IrTcl_Request *rp, const char *msg) return TCL_ERROR; else if (r == 1) { -#if IRTCL_GENERIC_FILES - ir_select_add_write (p->csFile, p); -#else ir_select_add_write (cs_fileno (p->cs_link), p); -#endif logf (LOG_DEBUG, "Send part of %s", msg); p->state = IR_TCL_R_Writing; }