Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
callcgi: Don't log errors about broken pipes.
[ashd.git]
/
lib
/
cf.c
diff --git
a/lib/cf.c
b/lib/cf.c
index
61b3915
..
2ca910a
100644
(file)
--- a/
lib/cf.c
+++ b/
lib/cf.c
@@
-320,7
+320,8
@@
static int stdhandle(struct child *ch, struct hthead *req, int fd, void (*chinit
for(i = 0; sd->envp[i]; i += 2)
putenv(sprintf2("%s=%s", sd->envp[i], sd->envp[i + 1]));
for(i = 0; sd->envp[i]; i += 2)
putenv(sprintf2("%s=%s", sd->envp[i], sd->envp[i + 1]));
- chinit(data);
+ if(chinit != NULL)
+ chinit(data);
}
if(sd->type == CH_SOCKET) {
}
if(sd->type == CH_SOCKET) {