X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=rfc1006%2Frfct.c;h=b79e6a275edd62b117a8c64fe7afe36c39963863;hp=4ff8e985a6b0185e4050a79b2914074a287a22a2;hb=6a39772ad0cbd1bcb5d0984cd783d4a9e06bdfdb;hpb=1db60f5a7396b9b37560f6b6962be0b68240486c diff --git a/rfc1006/rfct.c b/rfc1006/rfct.c index 4ff8e98..b79e6a2 100644 --- a/rfc1006/rfct.c +++ b/rfc1006/rfct.c @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: rfct.c,v $ - * Revision 1.6 1995-06-15 07:45:11 quinn + * Revision 1.9 1996-02-23 10:01:00 quinn + * Smallish + * + * Revision 1.8 1995/11/01 13:54:52 quinn + * Minor adjustments + * + * Revision 1.7 1995/06/16 10:46:48 quinn + * *** empty log message *** + * + * Revision 1.6 1995/06/15 07:45:11 quinn * Moving to v3. * * Revision 1.5 1995/05/31 08:29:35 quinn @@ -108,7 +117,6 @@ #ifdef __linux__ #include #endif -#include /* project memory debugging - delete if you don't have it */ #ifdef TRACE_TRANSPORT #define TRC(x) x @@ -608,7 +616,7 @@ int t_snd(int fd, char *buf, unsigned nbytes, int flags) return nbytes; } -int t_rcv(int fd, char *buf, unsigned nbytes, int *flags) +int _t_rcv(int fd, char *buf, unsigned nbytes, int *flags) { struct rfct_control *cnt = control[fd]; struct tpdu_data_header dhead; @@ -722,7 +730,7 @@ int t_rcv(int fd, char *buf, unsigned nbytes, int *flags) return got; } -#if 0 +#if 1 int t_rcv(int fd, char *buf, unsigned nbytes, int *flags) { @@ -1289,7 +1297,8 @@ int t_listen(int fd, struct t_call *call) */ int t_unbind(int fd) { - fprintf(stderr, "T_UNBIND [not supported by transport implementation]\n"); + TRC(fprintf(stderr, + "T_UNBIND [not supported by transport implementation]\n")); t_errno = TNOTSUPPORT; return -1; }