sacc

sacc (saccomys): simple gopher client.
Log | Files | Refs | LICENSE

commit b040bab88b52a94c893db9f0d29f4a784eb183ab
parent 23234609e4029833cd123921a50d8067d3308b11
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(-)

diff --git a/sacc.c b/sacc.c @@ -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, "://")) {