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:
3b18f35
)
callcgi: Don't log errors about broken pipes.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 28 Dec 2013 01:40:20 +0000
(
02:40
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 28 Dec 2013 01:40:20 +0000
(
02:40
+0100)
src/callcgi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callcgi.c
b/src/callcgi.c
index
11fb213
..
2da1161
100644
(file)
--- a/
src/callcgi.c
+++ b/
src/callcgi.c
@@
-62,7
+62,8
@@
static int passdata(FILE *in, FILE *out)
return(1);
}
if(fwrite(buf, 1, ret, out) != ret) {
return(1);
}
if(fwrite(buf, 1, ret, out) != ret) {
- flog(LOG_ERR, "callcgi: could not write output: %s", strerror(errno));
+ if(errno != EPIPE)
+ flog(LOG_ERR, "callcgi: could not write output: %s", strerror(errno));
return(1);
}
}
return(1);
}
}