X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.c;h=c8064f23fc0ae9d649052815e817aa3beeb02d46;hb=600a1ce79471493f8cad5fcf118dc9797331d5aa;hp=08249021009f34708fa07ea380a50f275512f340;hpb=ee036f74f1d975bd5dec03592a614bbd619b8b54;p=ashd.git diff --git a/src/htparser.c b/src/htparser.c index 0824902..c8064f2 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #ifdef HAVE_CONFIG_H @@ -483,6 +484,7 @@ int main(int argc, char **argv) exit(1); } } + signal(SIGPIPE, SIG_IGN); if(daemonize) { daemon(0, 0); }