]> gitweb.factorcode.org Git - factor.git/commitdiff
use host-name if smtp-host symbol not set
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 25 Apr 2008 01:13:18 +0000 (20:13 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 25 Apr 2008 01:13:18 +0000 (20:13 -0500)
extra/smtp/smtp.factor

index d565117e5fdffe66b477a23b5ce4f15567a4e44e..4d548738d2c9efed894f36b0dfb435027b36b9db 100755 (executable)
@@ -131,7 +131,7 @@ M: email clone
         "-" %
         millis #
         "@" %
-        smtp-domain get %
+        smtp-domain get [ host-name ] unless* %
         ">" %
     ] "" make ;