Remove now unnecessary check in molditem - sacc - sacc(omys), simple console gopher client
(HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) LICENSE
---
(DIR) commit 7920c2413077be6b62cd0f0510ea5a71a5410aa5
(DIR) parent 74476b5fc0dff8d472e79c81c6a56ca1390fdf45
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 13 Jul 2017 16:17:45 +0200
Remove now unnecessary check in molditem
Diffstat:
M sacc.c | 4 ----
1 file changed, 0 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
@@ -571,10 +571,6 @@ moldentry(char *url)
if (*host == '\0' || *port == '\0' || ipv6)
die("Can't parse url");
- if (gopherpath[0] > '1')
- die("Gopher type not supported: %s",
- typedisplay(gopherpath[0]));
-
entry = xmalloc(sizeof(Item));
entry->type = gopherpath[0];
entry->username = entry->selector = ++gopherpath;