summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/quick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quick.c b/bin/quick.c
index 150eaf62..b5b4aa3d 100644
--- a/bin/quick.c
+++ b/bin/quick.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[]) {
 	error = getnameinfo(
 		(struct sockaddr *)&addr, addrlen,
 		host, sizeof(host), serv, sizeof(serv),
-		NI_NOFQDN
+		NI_NOFQDN | NI_NUMERICSERV
 	);
 	if (error) errx(EX_UNAVAILABLE, "getnameinfo: %s", gai_strerror(error));
 	printf("http://%s:%s/\n", host, serv);
d0b39aa73f9b15fe99faaffaa7ac115ee0&follow=1'>Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe