Make an empty selector the default for getting an index - holymoly - A tor enabled gopher client written in CHICKEN scheme
(HTM) git clone git://vernunftzentrum.de/holymoly.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 02fc2868d59a92bb4d19a5845e66ade988c09a56
(DIR) parent 2846889ec0da55f718c2eb87f972af801fe50c37
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Fri, 3 Aug 2018 09:48:49 +0200
Make an empty selector the default for getting an index
Diffstat:
holymoly.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/holymoly.scm b/holymoly.scm
@@ -312,7 +312,7 @@
(path (or (and (uri-host u) (uri-path u)) '("/" "1")))
(type (string->type (second path) 'directory))
(selector (string-intersperse (drop path 2) "/")))
- (make-entry type "" (string-append "/" selector) server port '())))
+ (make-entry type "" selector server port '())))
(define (entry->uri e)
(make-uri scheme: "gopher"