From: Michael Wallner Date: Fri, 13 Oct 2017 08:11:22 +0000 (+0200) Subject: fix signature X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3c364acddaef0f5c0b5fe462c92a6cbd64568e51;p=m6w6%2Fext-psi fix signature --- diff --git a/psi.d/netdb.psi b/psi.d/netdb.psi index cc66e9c..895728e 100644 --- a/psi.d/netdb.psi +++ b/psi.d/netdb.psi @@ -77,7 +77,7 @@ function psi\getnameinfo(string $addr, string &$host = NULL, string &$service = let servlen = psi\NI_MAXSERV; let serv = calloc(servlen, psi\SIZEOF_CHAR); let flags = intval($flags); - return getnameinfo(sa, salen, hostlen, host, servlen, serv, flags) as to_int(getnameinfo); + return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) as to_int(getnameinfo); set $host = to_string(host); set $service = to_string(serv); }