From: Fredrik Tolf Date: Sun, 2 Mar 2014 09:26:05 +0000 (+0100) Subject: lib: Fixed lingering stdchild bug. X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=7a092cefb32b7dceae2a5140bf9d83f00a991572 lib: Fixed lingering stdchild bug. --- 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);