]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/smtp/smtp.factor
Merge branch 'master' into microseconds
[factor.git] / basis / smtp / smtp.factor
index 63603ad131dc72ae4132351f38ce3bf52fa6a85f..9dc03dfac2a8ae7314a121a3612672f1e79873e8 100644 (file)
@@ -153,7 +153,7 @@ ERROR: invalid-header-string string ;
 
 : extract-email ( recepient -- email )
     ! This could be much smarter.
-    " " last-split1 swap or "<" ?head drop ">" ?tail drop ;
+    " " split1-last swap or "<" ?head drop ">" ?tail drop ;
 
 : email>headers ( email -- hashtable )
     [