X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fgns%2Fw32nsp.c;h=79609eb5a2917b3042b7fb7a26706ec759de1fba;hb=bbf436499f6c3d950fc8d0726a76ee7b4d2af266;hp=6e58353a355be90e24c7a35e4f22456af0314c34;hpb=5e756a09598021c6bb22cdbe1b0ac1011679ec0a;p=oweals%2Fgnunet.git diff --git a/src/gns/w32nsp.c b/src/gns/w32nsp.c index 6e58353a3..79609eb5a 100644 --- a/src/gns/w32nsp.c +++ b/src/gns/w32nsp.c @@ -27,11 +27,11 @@ */ #define INITGUID -#include -#include #include #include #include +#include +#include #if 1 # define DEBUGLOG(s, ...) @@ -340,7 +340,7 @@ GNUNET_W32NSP_LookupServiceBegin (LPGUID lpProviderId, LPWSAQUERYSETW lpqsRestri if (len >= 4 && wcscmp (&s[len - 4], L"zkey") == 0) { } - else if (len >= 4 && wcscmp (&s[len - 4], L"gads") == 0) + else if (len >= 4 && wcscmp (&s[len - 4], L"gnu") == 0) { } else @@ -403,7 +403,7 @@ UnmarshallWSAQUERYSETW (LPWSAQUERYSETW req) int WSAAPI GNUNET_W32NSP_LookupServiceNext (HANDLE hLookup, DWORD dwControlFlags, - LPDWORD lpdwBufferLength, LPWSAQUERYSET lpqsResults) + LPDWORD lpdwBufferLength, LPWSAQUERYSETW lpqsResults) { DWORD effective_flags; int i;