tRemove now unnecessary check in molditem - sacc - sacc (saccomys): simple gopher client.
Log
Files
Refs
LICENSE
---
commit 7920c2413077be6b62cd0f0510ea5a71a5410aa5
parent 74476b5fc0dff8d472e79c81c6a56ca1390fdf45
Author: Hiltjo Posthuma 
Date:   Thu, 13 Jul 2017 16:17:45 +0200

Remove now unnecessary check in molditem

Diffstat:
  sacc.c                              |       4 ----

1 file changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/sacc.c b/sacc.c
t@@ -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;