[WS2_32_NEW]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 9 Nov 2015 17:46:54 +0000 (17:46 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 9 Nov 2015 17:46:54 +0000 (17:46 +0000)
- Remove unnecessary dnsapi dependency
- Fix some comments and a DPRINT
Brought to you by Peter Hater.
CORE-10440

svn path=/trunk/; revision=69858

reactos/dll/win32/ws2_32_new/CMakeLists.txt
reactos/dll/win32/ws2_32_new/src/nsquery.c
reactos/dll/win32/ws2_32_new/src/send.c

index e474f0e..99e313e 100644 (file)
@@ -52,6 +52,6 @@ add_library(ws2_32_new SHARED
 
 set_module_type(ws2_32_new win32dll)
 target_link_libraries(ws2_32_new ${PSEH_LIB})
-add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
+add_importlibs(ws2_32_new user32 advapi32 ws2help msvcrt kernel32 ntdll)
 add_pch(ws2_32_new inc/ws2_32.h SOURCE)
 add_cd_file(TARGET ws2_32_new DESTINATION reactos/system32 FOR all)
index f0ca98b..a9e6d92 100644 (file)
@@ -133,10 +133,10 @@ WsNqBeginEnumerationProc(PVOID Context,
         /* Get the provider */
         if (!(Provider = Entry->Provider))
         {
-            /* None was laoded, load it */
+            /* None was loaded, load it */
             if ((WsNcLoadProvider(EnumContext->Catalog, Entry) != ERROR_SUCCESS))
             {
-                /* return fake success */
+                /* return TRUE to continue enumerating */
                 return TRUE;
             }
 
@@ -447,7 +447,7 @@ WsNqLookupServiceBegin(IN PNSQUERY NsQuery,
     }
     else
     {
-        /* Assume sucess */
+        /* Assume success */
         ErrorCode = ERROR_SUCCESS;
     }
 
index 3eaa806..0158d7d 100644 (file)
@@ -92,7 +92,7 @@ sendto(IN SOCKET s,
     LPWSATHREADID ThreadId;
     WSABUF Buffers;
     DWORD BytesSent;
-    DPRINT("send: %lx, %lx, %lx, %p\n", s, flags, len, buf);
+    DPRINT("sendto: %lx, %lx, %lx, %p\n", s, flags, len, buf);
 
     /* Check for WSAStartup */
     if ((ErrorCode = WsQuickPrologTid(&ThreadId)) == ERROR_SUCCESS)