Author: tfaber
Date: Sun Feb 19 11:44:18 2017
New Revision: 73839
URL:
http://svn.reactos.org/svn/reactos?rev=73839&view=rev
Log:
[WS2_32]
- Fix wrong ServLength in getnameinfo, again, since it got lost in the ws2_32_new work.
CID 716150
CORE-11214
Modified:
trunk/reactos/dll/win32/ws2_32/src/addrinfo.c
Modified: trunk/reactos/dll/win32/ws2_32/src/addrinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/src/addri…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/src/addrinfo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/src/addrinfo.c [iso-8859-1] Sun Feb 19 11:44:18 2017
@@ -1028,7 +1028,7 @@
{
/* Setup the data for it */
ServiceString = ServiceBuffer;
- ServLength = sizeof(ServiceBuffer) - 1;
+ ServLength = sizeof(ServiceBuffer) / sizeof(WCHAR);
}
/* Now call the unicode function */