X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;h=774b488e0c1b11cb5273537d46c2a9457bd7f67a;hp=4258eee634839dadeb495a5c5b6de1d46eb697c5;hb=aba4286b56077e610c6c8a4f7d6b6652c52bc1b2;hpb=ae35109dd6c2a686dafea77cf2f648fe85b1fafd diff --git a/scratchy.scm b/scratchy.scm index 4258eee..774b488 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) + (print "Invalid selector.") (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)