- Fix wrong ServLength in getnameinfo, again, since it got lost in the ws2_32_new work. CID 716150
CORE-11214

svn path=/trunk/; revision=73839
This commit is contained in:
Thomas Faber 2017-02-19 11:44:18 +00:00
parent 64c9bc0eba
commit c60757b725

View file

@ -1028,7 +1028,7 @@ getnameinfo(const struct sockaddr FAR *sa,
{
/* Setup the data for it */
ServiceString = ServiceBuffer;
ServLength = sizeof(ServiceBuffer) - 1;
ServLength = sizeof(ServiceBuffer) / sizeof(WCHAR);
}
/* Now call the unicode function */