Use numeric port instead of service name - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit b040bab88b52a94c893db9f0d29f4a784eb183ab
DIR parent 23234609e4029833cd123921a50d8067d3308b11
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Thu, 21 Dec 2017 00:27:41 +0100
Use numeric port instead of service name
Diffstat:
M sacc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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, "://")) {