mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 05:44:23 +08:00
[WS2_32_NEW]
- Use the correct size of ServiceBuffer in getnameinfo. Patch by Víctor Martínez Calvo. CID 716150 CORE-11214 #resolve svn path=/trunk/; revision=71293
This commit is contained in:
@@ -937,7 +937,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 */
|
||||
|
||||
Reference in New Issue
Block a user