Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f761f0
)
lib: Don't log mere EAGAINs.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Jan 2014 11:15:46 +0000
(12:15 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Jan 2014 11:15:46 +0000
(12:15 +0100)
lib/cf.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/cf.c
b/lib/cf.c
index
1f7be79
..
5a6388e
100644
(file)
--- 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;
}