Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accesslog: Ensure %s logs the fraction of the same second as %t.
[ashd.git]
/
src
/
htparser.c
diff --git
a/src/htparser.c
b/src/htparser.c
index
0824902
..
503df99
100644
(file)
--- a/
src/htparser.c
+++ b/
src/htparser.c
@@
-22,6
+22,7
@@
#include <string.h>
#include <sys/socket.h>
#include <pwd.h>
#include <string.h>
#include <sys/socket.h>
#include <pwd.h>
+#include <sys/signal.h>
#include <errno.h>
#ifdef HAVE_CONFIG_H
#include <errno.h>
#ifdef HAVE_CONFIG_H
@@
-453,7
+454,7
@@
int main(int argc, char **argv)
usage(stderr);
exit(1);
}
usage(stderr);
exit(1);
}
- if((plex = stdmkchild(argv + ++i)) < 0) {
+ if((plex = stdmkchild(argv + ++i
, NULL, NULL
)) < 0) {
flog(LOG_ERR, "could not spawn root multiplexer: %s", strerror(errno));
return(1);
}
flog(LOG_ERR, "could not spawn root multiplexer: %s", strerror(errno));
return(1);
}
@@
-483,6
+484,7
@@
int main(int argc, char **argv)
exit(1);
}
}
exit(1);
}
}
+ signal(SIGPIPE, SIG_IGN);
if(daemonize) {
daemon(0, 0);
}
if(daemonize) {
daemon(0, 0);
}