summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b9c1cf)
Shouldn't *really* be necessary, but it seems hard to ensure that
gnutls uses MSG_NOSIGNAL, and it's not as if it really hurts. At least
not a lot.
#include <string.h>
#include <sys/socket.h>
#include <pwd.h>
#include <string.h>
#include <sys/socket.h>
#include <pwd.h>
#include <errno.h>
#ifdef HAVE_CONFIG_H
#include <errno.h>
#ifdef HAVE_CONFIG_H
+ signal(SIGPIPE, SIG_IGN);
if(daemonize) {
daemon(0, 0);
}
if(daemonize) {
daemon(0, 0);
}