X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=psi.d%2Fnetdb.psi;h=3eca2915c84438512c427f93d9e109c102814be5;hb=113f4fa75ebc5ba8edc6865f1aaf983d7ddeb08b;hp=2b74b2db2e6c9b768f048d32aca03d0d0b93c6fe;hpb=77a446cbcdce6558c00066e5f13e43e8b1b18ff7;p=m6w6%2Fext-psi diff --git a/psi.d/netdb.psi b/psi.d/netdb.psi index 2b74b2d..3eca291 100644 --- a/psi.d/netdb.psi +++ b/psi.d/netdb.psi @@ -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),