]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/urls/urls.factor
basis: ERROR: changes.
[factor.git] / basis / urls / urls.factor
index f149f499d96bd1f6efa58a9ac6765431dc8d7ef8..a1f26d43ebdd5345ad56cf260737d3c2eb5c142a 100644 (file)
@@ -30,7 +30,7 @@ ERROR: malformed-port ;
 : parse-host ( string -- host/f port/f )
     [
         ":" split1-last [ url-decode ]
-        [ dup [ string>number [ malformed-port ] unless* ] when ] bi*
+        [ dup [ string>number [ throw-malformed-port ] unless* ] when ] bi*
     ] [ f f ] if* ;
 
 GENERIC: >url ( obj -- url )