Browse Source
Our handling of SIGPIPE was incoherent and inconsistent, and we had much cut & paste between the daemons. They should *ALL* ignore SIGPIPE, and much of the rest of the boilerplate can be shared, so should be. Reported-by: @ZmnSCPxj Fixes: #528 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
16 changed files with 40 additions and 85 deletions
@ -1,7 +0,0 @@ |
|||
#ifndef LIGHTNING_COMMON_DEBUG_H |
|||
#define LIGHTNING_COMMON_DEBUG_H |
|||
#include "config.h" |
|||
|
|||
void subdaemon_debug(int argc, char *argv[]); |
|||
|
|||
#endif /* LIGHTNING_COMMON_DEBUG_H */ |
@ -0,0 +1,7 @@ |
|||
#ifndef LIGHTNING_COMMON_SUBDAEMON_H |
|||
#define LIGHTNING_COMMON_SUBDAEMON_H |
|||
#include "config.h" |
|||
|
|||
void subdaemon_setup(int argc, char *argv[]); |
|||
|
|||
#endif /* LIGHTNING_COMMON_SUBDAEMON_H */ |
Loading…
Reference in new issue