X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;h=5e6a37f62fb927f0325a53e84642a1ebc408a30d;hp=4258eee634839dadeb495a5c5b6de1d46eb697c5;hb=c2c6656ac9d361bc7cb983e8f6c23abd8f8ee73b;hpb=ae35109dd6c2a686dafea77cf2f648fe85b1fafd diff --git a/scratchy.scm b/scratchy.scm index 4258eee..5e6a37f 100644 --- a/scratchy.scm +++ b/scratchy.scm @@ -76,8 +76,8 @@ (serve-selector selector config))) (print "... served selector '" selector "'. Closing connection.")) (o (exn) - (print-error-message o out-port) (print-error-message o) + (display "Invalid selector.\r\n.\r\n" out-port) (print "Error while attempting to serve selector " selector ".")))) (begin (print "Connection from blacklisted IP. Closing.") @@ -280,7 +280,7 @@ dir-selector config)) ((type display-string selector) (serve-record (list type display-string - (make-pathname dir-selector selector) + (normalize-pathname (make-pathname dir-selector selector)) (config-host config) (config-port config)) dir-selector config)) ((display-string selector)