From 94b3bf2df8198b4ed59b389f16a844bb2d03787b Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Mon, 9 Nov 2015 17:46:54 +0000 Subject: [PATCH] [WS2_32_NEW] - 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 | 2 +- reactos/dll/win32/ws2_32_new/src/nsquery.c | 6 +++--- reactos/dll/win32/ws2_32_new/src/send.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/dll/win32/ws2_32_new/CMakeLists.txt b/reactos/dll/win32/ws2_32_new/CMakeLists.txt index e474f0ec1ea..99e313e7e73 100644 --- a/reactos/dll/win32/ws2_32_new/CMakeLists.txt +++ b/reactos/dll/win32/ws2_32_new/CMakeLists.txt @@ -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) diff --git a/reactos/dll/win32/ws2_32_new/src/nsquery.c b/reactos/dll/win32/ws2_32_new/src/nsquery.c index f0ca98b6d53..a9e6d9225a5 100644 --- a/reactos/dll/win32/ws2_32_new/src/nsquery.c +++ b/reactos/dll/win32/ws2_32_new/src/nsquery.c @@ -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; } diff --git a/reactos/dll/win32/ws2_32_new/src/send.c b/reactos/dll/win32/ws2_32_new/src/send.c index 3eaa806ceac..0158d7de9f1 100644 --- a/reactos/dll/win32/ws2_32_new/src/send.c +++ b/reactos/dll/win32/ws2_32_new/src/send.c @@ -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)