REQUIRE error with 8.2.2-T5A on RedHat 6.0

Paul A Vixie vixie at mibh.net
Fri Oct 8 06:27:33 UTC 1999


this is cheesy, but:

Index: src/lib/isc/ctl_clnt.c
===================================================================
RCS file: /proj/cvs/isc/bind/src/lib/isc/ctl_clnt.c,v
retrieving revision 8.12
diff -u -r8.12 ctl_clnt.c
--- src/lib/isc/ctl_clnt.c	1999/10/07 20:44:04	8.12
+++ src/lib/isc/ctl_clnt.c	1999/10/08 06:26:32
@@ -417,7 +417,8 @@
 	struct ctl_cctx *ctx = tran->ctx;
 
 	ctx->wrID.opaque = NULL;
-	touch_timer(ctx);
+	if (ctx->tiID.opaque != NULL)
+		touch_timer(ctx);
 	ctl_bufput(&tran->outbuf);
 	start_write(ctx);
 	if (bytes < 0)
@@ -478,7 +479,8 @@
 		error(ctx);
 		return;
 	}
-	touch_timer(ctx);
+	if (ctx->tiID.opaque != NULL)
+		touch_timer(ctx);
 	ctx->inbuf.used += n;
 	(*ctx->logger)(ctl_debug, "%s: read %d, used %d", me,
 		       n, ctx->inbuf.used);


More information about the bind-workers mailing list