]> gitweb.factorcode.org Git - factor.git/commitdiff
gopher: use contents now that it works.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 24 Dec 2014 03:22:35 +0000 (19:22 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 24 Dec 2014 03:22:35 +0000 (19:22 -0800)
extra/gopher/gopher.factor

index e28522cfc25241bb7a028c6e0154bd70d967feb2..8bb1c51dfb1c873592bbb2406053d864e056294e 100644 (file)
@@ -43,8 +43,7 @@ CONSTANT: A_PLUS_SOUND CHAR: <
     [ dup length 1 > [ string>number ] [ first ] if ]
     [
         "?" split1 [ "\t" glue ] when*
-        "\r\n" append utf8 encode write flush
-        input-stream get (stream-contents-by-block)
+        "\r\n" append utf8 encode write flush contents
     ] bi* ;
 
 PRIVATE>