]> gitweb.factorcode.org Git - factor.git/commitdiff
smtp: plain-auth-string should return a ... string.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 29 Sep 2012 02:04:38 +0000 (19:04 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 29 Sep 2012 02:04:38 +0000 (19:04 -0700)
basis/smtp/smtp.factor

index 5edbf71434fd4a4943c0043152649ebc79043bc0..78c0fad40f06e442fa088390f95ebefbe544e44b 100644 (file)
@@ -146,7 +146,7 @@ GENERIC: send-auth ( auth -- )
 M: no-auth send-auth drop ;
 
 : plain-auth-string ( username password -- string )
-    [ "\0" prepend ] bi@ append utf8 encode >base64 ;
+    [ "\0" prepend ] bi@ append utf8 encode >base64 >string ;
 
 M: plain-auth send-auth
     [ username>> ] [ password>> ] bi plain-auth-string