tUse numeric port instead of service name - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit b040bab88b52a94c893db9f0d29f4a784eb183ab (DIR) parent 23234609e4029833cd123921a50d8067d3308b11 (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Thu, 21 Dec 2017 00:27:41 +0100 Use numeric port instead of service name Diffstat: sacc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/sacc.c b/sacc.c t@@ -713,7 +713,7 @@ static Item * moldentry(char *url) { Item *entry; - char *p, *host = url, *port = "gopher", *gopherpath = "1"; + char *p, *host = url, *port = "70", *gopherpath = "1"; int parsed, ipv6; if (p = strstr(url, "://")) {