]> gitweb.factorcode.org Git - factor.git/commitdiff
io.sockets: don't need "0 or" for addrinfo.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 20 Apr 2014 16:30:03 +0000 (09:30 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 20 Apr 2014 16:30:03 +0000 (09:30 -0700)
basis/io/sockets/sockets.factor

index 51e5979c2f8ad3cd3f67923868a2483eb854e6ff..0a7287fc5319be551618719ba03fe071da9e12fa 100644 (file)
@@ -410,7 +410,7 @@ C: <inet> inet
 
 M: string resolve-host
     f prepare-addrinfo f void* <ref> [
-        getaddrinfo 0 or [
+        getaddrinfo [
             dup addrinfo-error-string addrinfo-error
         ] unless-zero
     ] keep void* deref addrinfo memory>struct