diff options
Diffstat (limited to 'contrib/bind/lib/isc/ctl_clnt.c')
-rw-r--r-- | contrib/bind/lib/isc/ctl_clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bind/lib/isc/ctl_clnt.c b/contrib/bind/lib/isc/ctl_clnt.c index 66f32f8..4e19d2c 100644 --- a/contrib/bind/lib/isc/ctl_clnt.c +++ b/contrib/bind/lib/isc/ctl_clnt.c @@ -1,5 +1,5 @@ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: ctl_clnt.c,v 8.14 1999/10/13 16:39:33 vixie Exp $"; +static const char rcsid[] = "$Id: ctl_clnt.c,v 8.15 2000/11/14 01:10:36 vixie Exp $"; #endif /* not lint */ /* @@ -261,11 +261,11 @@ new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) { buffer_init(new->outbuf); new->donefunc = donefunc; new->uap = uap; + INIT_LINK(new, link); + INIT_LINK(new, wlink); APPEND(ctx->tran, new, link); if (w) APPEND(ctx->wtran, new, wlink); - else - INIT_LINK(new, wlink); return (new); } |