From 24cb41aa13381c290d1b663a2f657270f3ec5943 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 20 Apr 2014 09:30:03 -0700 Subject: [PATCH] io.sockets: don't need "0 or" for addrinfo. --- basis/io/sockets/sockets.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/io/sockets/sockets.factor b/basis/io/sockets/sockets.factor index 51e5979c2f..0a7287fc53 100644 --- a/basis/io/sockets/sockets.factor +++ b/basis/io/sockets/sockets.factor @@ -410,7 +410,7 @@ C: inet M: string resolve-host f prepare-addrinfo f void* [ - getaddrinfo 0 or [ + getaddrinfo [ dup addrinfo-error-string addrinfo-error ] unless-zero ] keep void* deref addrinfo memory>struct