From 4f7066dada94a402d867ceca9a668a6e64d12f3c Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 18 May 2020 14:44:19 -0400 Subject: Don't bother setting SO_NOSIGPIPE We need to ignore SIGPIPE anyway for other platforms. --- server.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server.c') diff --git a/server.c b/server.c index 1edeab5..8ea6d19 100644 --- a/server.c +++ b/server.c @@ -114,10 +114,6 @@ int serverConnect(const char *bindHost, const char *host, const char *port) { if (sock < 0) err(EX_UNAVAILABLE, "%s:%s", host, port); freeaddrinfo(head); - int yes = 1; - error = setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &yes, sizeof(yes)); - if (error) err(EX_OSERR, "setsockopt"); - error = tls_connect_socket(client, sock, host); if (error) errx(EX_PROTOCOL, "tls_connect: %s", tls_error(client)); -- cgit 1.4.1 ='sub'>dontfiles
summary refs log tree commit diff
path: root/home/.xsession (unfollow)
Commit message (Expand)Author
2022-05-08Add CirceJune McEnroe
2022-04-20Revert "Make (pun) the dependencies make (pun) more sense"June McEnroe
2022-04-20Set txt mtimes to source mtimesJune McEnroe
2022-04-20Make (pun) the dependencies make (pun) more senseJune McEnroe
2022-04-17Add HenchJune McEnroe
2022-04-14Publish "Agency"June McEnroe
2022-04-13Swap dates so the difference is always positiveJune McEnroe
2022-04-04Update "Care"June McEnroe
2022-04-03Publish "Care"June McEnroe
2022-03-31Publish "Compassion"June McEnroe
2022-03-24Skip matches with ident chars on either sideJune McEnroe
2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe
2022-03-22Source ~/.profile.local if it existsJune McEnroe
2022-03-18Publish "Addendum 2021"June McEnroe
2022-03-16Remove wcwidth portJune McEnroe
2022-03-16Remove -j4 from ./PlanJune McEnroe
2022-03-15Rewrite Linux install.sh for DebianJune McEnroe
2022-03-15Remove dashJune McEnroe