Author: tfaber
Date: Mon Nov 9 17:46:54 2015
New Revision: 69858
URL:
http://svn.reactos.org/svn/reactos?rev=69858&view=rev
Log:
[WS2_32_NEW]
- Remove unnecessary dnsapi dependency
- Fix some comments and a DPRINT
Brought to you by Peter Hater.
CORE-10440
Modified:
trunk/reactos/dll/win32/ws2_32_new/CMakeLists.txt
trunk/reactos/dll/win32/ws2_32_new/src/nsquery.c
trunk/reactos/dll/win32/ws2_32_new/src/send.c
Modified: trunk/reactos/dll/win32/ws2_32_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/CMake…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/CMakeLists.txt [iso-8859-1] Mon Nov 9 17:46:54
2015
@@ -52,6 +52,6 @@
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)
Modified: trunk/reactos/dll/win32/ws2_32_new/src/nsquery.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/n…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/nsquery.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/nsquery.c [iso-8859-1] Mon Nov 9 17:46:54
2015
@@ -133,10 +133,10 @@
/* 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 @@
}
else
{
- /* Assume sucess */
+ /* Assume success */
ErrorCode = ERROR_SUCCESS;
}
Modified: trunk/reactos/dll/win32/ws2_32_new/src/send.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/s…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/send.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/send.c [iso-8859-1] Mon Nov 9 17:46:54 2015
@@ -92,7 +92,7 @@
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)