summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/relay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/relay.c b/bin/relay.c
index d54f7245..50bafd49 100644
--- a/bin/relay.c
+++ b/bin/relay.c
@@ -18,6 +18,7 @@
 #include <netdb.h>
 #include <netinet/in.h>
 #include <poll.h>
+#include <signal.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -104,6 +105,7 @@ int main(int argc, char *argv[]) {
 	const char *chan = argv[4];
 
 	setlinebuf(stdout);
+	signal(SIGPIPE, SIG_IGN);
 
 	struct tls_config *config = tls_config_new();
 	if (!config) errx(EX_SOFTWARE, "tls_config_new");
href='/src/commit/etc/Light.terminal?id=2b6691af9ce182dea526702a4e530637202987b5&follow=1'>Update Dark.terminalJune McEnroe 2019-07-26Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe