Merge branch 'callbacks'
authorMichael Wallner <mike@php.net>
Fri, 12 Feb 2016 15:01:07 +0000 (16:01 +0100)
committerMichael Wallner <mike@php.net>
Fri, 12 Feb 2016 15:01:07 +0000 (16:01 +0100)
psi.d/netdb.psi

index 2b74b2db2e6c9b768f048d32aca03d0d0b93c6fe..3eca2915c84438512c427f93d9e109c102814be5 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),