missing fi
[oweals/gnunet.git] / src / gns / w32nsp.c
index 6e58353a355be90e24c7a35e4f22456af0314c34..79609eb5a2917b3042b7fb7a26706ec759de1fba 100644 (file)
  */
 
 #define INITGUID
-#include <windows.h>
-#include <nspapi.h>
 #include <stdint.h>
 #include <ws2tcpip.h>
 #include <ws2spi.h>
+#include <windows.h>
+#include <nspapi.h>
 
 #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;