mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00: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:
parent
274daad96e
commit
7fb10cb4d0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue