From 7a092cefb32b7dceae2a5140bf9d83f00a991572 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 2 Mar 2014 10:26:05 +0100 Subject: [PATCH] lib: Fixed lingering stdchild bug. --- lib/cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cf.c b/lib/cf.c index aae8485..4135209 100644 --- a/lib/cf.c +++ b/lib/cf.c @@ -380,7 +380,7 @@ static int stdhandle(struct child *ch, struct hthead *req, int fd, void (*chinit struct sidata idat; if(sd->type == CH_SOCKET) { - idat = (struct sidata) {.sd = sd, .sinit = chinit, sdata = sdata}; + idat = (struct sidata) {.sd = sd, .sinit = chinit, .sdata = sdata}; if(sd->fd < 0) { args = expandargs(sd); sd->fd = stdmkchild(args, stdinit, &idat); -- 2.11.0