[gaim-migrate @ 17669]

Sun, 05 Nov 2006 08:22:33 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sun, 05 Nov 2006 08:22:33 +0000
changeset 14959
eb5cf3522fda
parent 14958
eb3516bb5cfd
child 14960
1ae8abb01e70

[gaim-migrate @ 17669]
Vista needs a bigger buffer for the NLA lookup stuff. This will fix network detection on Vista.

libgaim/network.c file | annotate | diff | comparison | revisions
--- 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) {

mercurial