changeset 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 fe184dbde619
children 64733c315986
files libgaim/network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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) {