Mercurial > pidgin
diff libgaim/network.c @ 14897:e429c4ebbae5
[gaim-migrate @ 17669]
Vista needs a bigger buffer for the NLA lookup stuff. This will fix network detection on Vista.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 05 Nov 2006 08:22:33 +0000 |
parents | 717ea4589f8d |
children | f58283ce58ea |
line wrap: on
line diff
--- a/libgaim/network.c Sun Nov 05 00:11:52 2006 +0000 +++ b/libgaim/network.c Sun Nov 05 08:22:33 2006 +0000 @@ -409,7 +409,7 @@ return -1; } else { - char buf[1024]; + char buf[4096]; WSAQUERYSET *res = (LPWSAQUERYSET) buf; DWORD size = sizeof(buf); while ((retval = WSALookupServiceNext(h, 0, &size, res)) == ERROR_SUCCESS) {