]> gitweb.factorcode.org Git - factor.git/commitdiff
make ftp not depend on lib
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 3 Dec 2008 14:34:14 +0000 (08:34 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 3 Dec 2008 14:34:14 +0000 (08:34 -0600)
extra/ftp/server/server.factor

index 342c6a3c95f55bfa729dd0b27dd599802f5e770b..b0ec340202aa176290ea0216a93b10369fb7bf4c 100644 (file)
@@ -7,8 +7,7 @@ namespaces make sequences ftp io.unix.launcher.parser
 unicode.case splitting assocs classes io.servers.connection
 destructors calendar io.timeouts io.streams.duplex threads
 continuations math concurrency.promises byte-arrays
-io.backend sequences.lib tools.hexdump tools.files
-io.streams.string ;
+io.backend tools.hexdump tools.files io.streams.string ;
 IN: ftp.server
 
 TUPLE: ftp-client url mode state command-promise user password ;
@@ -231,7 +230,7 @@ M: ftp-put service-command ( stream obj -- )
     expect-connection
     [
         "Entering Passive Mode (127,0,0,1," %
-        port>bytes [ number>string ] bi@ "," splice %
+        port>bytes [ number>string ] bi@ "," glue %
         ")" %
     ] "" make 227 swap server-response ;