Index: dll/win32/ws2_32_new/src/addrinfo.c =================================================================== --- dll/win32/ws2_32_new/src/addrinfo.c (revision 71259) +++ dll/win32/ws2_32_new/src/addrinfo.c (working copy) @@ -937,7 +937,7 @@ { /* Setup the data for it */ ServiceString = ServiceBuffer; - ServLength = sizeof(ServiceBuffer) - 1; + ServLength = sizeof(ServiceBuffer) / sizeof(WCHAR) ; } /* Now call the unicode function */