projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
b78637d
)
fix signature
author
Michael Wallner
<mike@php.net>
Fri, 13 Oct 2017 08:11:22 +0000
(10:11 +0200)
committer
Michael Wallner
<mike@php.net>
Fri, 13 Oct 2017 08:11:22 +0000
(10:11 +0200)
psi.d/netdb.psi
patch
|
blob
|
history
diff --git
a/psi.d/netdb.psi
b/psi.d/netdb.psi
index cc66e9cde683452913e91ea0a713c07e17d33183..895728e1232f4d0d864e47f40e5c70d58eadf3e1 100644
(file)
--- 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, host
len, 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);
}