fix retval
authorMichael Wallner <mike@php.net>
Wed, 10 Feb 2016 14:40:14 +0000 (15:40 +0100)
committerMichael Wallner <mike@php.net>
Wed, 10 Feb 2016 14:40:22 +0000 (15:40 +0100)
psi.d/netdb.psi

index 2b74b2d..3eca291 100644 (file)
@@ -29,7 +29,7 @@ function psi\setservent(bool $stayopen) : void {
 }
 
 function psi\gethostent() : array {
-       return to_array(gethostent, 
+       return to_array(*gethostent,
                to_string(h_name),
                to_array(h_aliases, to_string(h_aliases)),
                to_int(h_addrtype),