From 4eb607d725ed987a4b885d5f9b12e5c59debe6c3 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 7 Dec 2020 08:03:31 +0000 Subject: Remove use of AI_DEFAULT This just causes getaddrinfo(3) to return EAI_BADFLAGS on FreeBSD, strangely. --- getservinfo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/getservinfo.c b/getservinfo.c index 3fc87b8..0db7bc0 100644 --- a/getservinfo.c +++ b/getservinfo.c @@ -132,9 +132,6 @@ int getservinfo( snprintf(myServ, sizeof(myServ), "%hu", port); struct addrinfo myHints = *hints; -#ifdef AI_DEFAULT - if (!myHints.ai_flags) myHints.ai_flags = AI_DEFAULT; -#endif myHints.ai_flags |= AI_NUMERICSERV; myHints.ai_flags &= ~AI_CANONNAME; -- cgit 1.4.1 ion> collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/.gitignore (unfollow)
Commit message (Expand)Author
2021-12-01DecayJune McEnroe
2021-10-17Remove capsicum supportJune McEnroe
2021-10-17Build chroot only for OpenBSD, remove rc scriptJune McEnroe
2021-09-28Fix backspace on OpenBSDJune McEnroe
2021-09-27Handle KCGI_EXIT gracefullyJune McEnroe
2021-09-27Call msync(2) after modifying tilesJune McEnroe
2021-09-27Copy CSVs to web directory from snapshot.shJune McEnroe
2021-09-27Extract chroot.tar with -p, install to WEBROOTJune McEnroe
2021-09-26OpenBSD: Copy appropriate files for chrootJune McEnroe
2021-09-26OpenBSD: pledge(2) imageJune McEnroe
2021-09-26OpenBSD: pledge(2) clientJune McEnroe
2021-09-26OpenBSD: pledge(2) serverJune McEnroe
2021-09-24Link with -lncurseswJune McEnroe
2021-09-20Replace strlcpy with snprintfJune McEnroe
2021-09-20Replace kqueue with poll, remove libutil dependencyJune McEnroe
2021-02-04Update play@ascii.town descriptionJune McEnroe
2021-02-04Replace donation button with LiberapayJune McEnroe
2020-06-25Use DisableForwarding in sshd_configJune McEnroe
2019-12-19Remove READMEJune McEnroe
2019-12-15Update git URLsJune McEnroe
2019-08-05Add buymeacoffee linkJune McEnroe
2019-07-27Use braces in MakefileJune McEnroe
2019-07-08Remove NetHack from indexJune McEnroe
2019-04-08Don't install rc.kfcgi eitherJune McEnroe
2019-03-28Remove rc.kfcgiJune McEnroe
2019-01-16Reformat index.html with explore linkJune McEnroe
2019-01-16Return false from keydown handler in exploreJune McEnroe
2019-01-08Draw lines to tile edgeJune McEnroe
2019-01-08Factor out default pathsJune McEnroe
2019-01-08Remove incorrect default coordinatesJune McEnroe
2019-01-07Set img src when explore fragment changesJune McEnroe
2019-01-07Compress PNG data in imageJune McEnroe
2019-01-07madvise MADV_NOCORE in imageJune McEnroe
2019-01-07Add license notice to explore JavaScriptJune McEnroe
2019-01-07Add Q/Home binding in exploreJune McEnroe
2019-01-07Fix explore image URLJune McEnroe
2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe
2019-01-06Add meta viewport to exploreJune McEnroe
2019-01-06Set background and max-width in exploreJune McEnroe
2019-01-06Swallow writes after the connection is closedJune McEnroe
2019-01-06Handle KCGI_HUPJune McEnroe
2019-01-06Install html filesJune McEnroe