From: Michael Wallner Date: Wed, 10 Feb 2016 14:40:14 +0000 (+0100) Subject: fix retval X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=commitdiff_plain;h=b674624f2c519fab48ad01f761ce38ec87842015;hp=-c fix retval --- b674624f2c519fab48ad01f761ce38ec87842015 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),