X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=lib%2Fcf.c;h=5a6388e1432ebdc09ac3d0fe796df93321f45026;hp=1f7be797c1688cefb9bb11945b3abf3965a952cd;hb=8240565929c54d87883659f41ceef717bcdfa4b7;hpb=6f761f0ad9ab8ab78de873612668bea4c7c86045 diff --git a/lib/cf.c b/lib/cf.c index 1f7be79..5a6388e 100644 --- a/lib/cf.c +++ b/lib/cf.c @@ -388,8 +388,8 @@ static int stdhandle(struct child *ch, struct hthead *req, int fd, void (*chinit return(0); serr = errno; } - flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(serr)); if(serr != EAGAIN) { + flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(serr)); close(sd->fd); sd->fd = -1; }