# HG changeset patch # User Daniel Atallah # Date 1162714953 0 # Node ID e429c4ebbae563940721a34c5491cf582af47a1e # Parent fe184dbde619e0baff8bb5e81a8e335e85bd1b91 [gaim-migrate @ 17669] Vista needs a bigger buffer for the NLA lookup stuff. This will fix network detection on Vista. committer: Tailor Script diff -r fe184dbde619 -r e429c4ebbae5 libgaim/network.c --- 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) {