Commit c8f45ff7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(server_init): Fixed typo introduced in rev 0.61: ignore SIGPIPE, not SIGHUP.

parent 4a50fba5
/*
* $Id: ramkomd.c,v 0.61 1996/07/30 14:32:56 ceder Exp $
* $Id: ramkomd.c,v 0.62 1996/08/02 00:08:26 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,7 +38,7 @@
* It has grown! /ceder
*/
static char *rcsid = "$Id: ramkomd.c,v 0.61 1996/07/30 14:32:56 ceder Exp $";
static char *rcsid = "$Id: ramkomd.c,v 0.62 1996/08/02 00:08:26 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -179,7 +179,7 @@ server_init (char * client_port, char * mux_port)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = SIG_IGN;
sigaction(SIGHUP, &act, NULL);
sigaction(SIGPIPE, &act, NULL);
#else
signal(SIGPIPE, SIG_IGN);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment