tplumb gopher type 9 instead of downloading - sacc - [fork] customized build of sacc, the simple console gopher client
(HTM) git clone git://src.adamsgaard.dk/sacc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 160d41ee493e2be5c9e0e12580d6fc51ebd0f625
(DIR) parent 7357ad79b8d43834396c672d632506c18c0952fb
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 19 Mar 2021 20:30:22 +0100
plumb gopher type 9 instead of downloading
Diffstat:
M sacc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
t@@ -715,9 +715,6 @@ dig(Item *entry, Item *item)
case '4':
case '5':
case '6':
- case '9':
- downloaditem(item);
- return 0;
case '8':
if (asprintf(&plumburi, "telnet://%s%s%s:%s",
item->selector, item->selector ? "@" : "",
t@@ -740,6 +737,7 @@ dig(Item *entry, Item *item)
return 0;
}
case 'g':
+ case '9':
case 'I':
plumbitem(item);
case 'i':