[WS2_32_NEW]
[reactos.git] / reactos / dll / win32 / ws2_32_new / src / addrinfo.c
index 3abae31..c714213 100644 (file)
@@ -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 */