From 93a7964f727bc379e673452c6e7881bccab58177 Mon Sep 17 00:00:00 2001 From: hater <7element@mail.bg> Date: Wed, 4 Nov 2015 11:21:40 +0200 Subject: [PATCH] Disable debug, fix some comment typos and fix a DPRINT message --- reactos/dll/win32/ws2_32_new/src/bhook.c | 2 +- reactos/dll/win32/ws2_32_new/src/dupsock.c | 2 +- reactos/dll/win32/ws2_32_new/src/event.c | 2 +- reactos/dll/win32/ws2_32_new/src/ioctl.c | 2 +- reactos/dll/win32/ws2_32_new/src/nspinstl.c | 2 +- reactos/dll/win32/ws2_32_new/src/nsquery.c | 6 +++--- reactos/dll/win32/ws2_32_new/src/qos.c | 2 +- reactos/dll/win32/ws2_32_new/src/qshelpr.c | 2 +- reactos/dll/win32/ws2_32_new/src/rasdial.c | 2 +- reactos/dll/win32/ws2_32_new/src/recv.c | 2 +- reactos/dll/win32/ws2_32_new/src/select.c | 2 +- reactos/dll/win32/ws2_32_new/src/send.c | 4 ++-- reactos/dll/win32/ws2_32_new/src/spinstal.c | 2 +- reactos/dll/win32/ws2_32_new/src/sputil.c | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/reactos/dll/win32/ws2_32_new/src/bhook.c b/reactos/dll/win32/ws2_32_new/src/bhook.c index 260c12b..6ce056c 100644 --- a/reactos/dll/win32/ws2_32_new/src/bhook.c +++ b/reactos/dll/win32/ws2_32_new/src/bhook.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/dupsock.c b/reactos/dll/win32/ws2_32_new/src/dupsock.c index 23d438f..4a69bf9 100644 --- a/reactos/dll/win32/ws2_32_new/src/dupsock.c +++ b/reactos/dll/win32/ws2_32_new/src/dupsock.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/event.c b/reactos/dll/win32/ws2_32_new/src/event.c index 4fda527..83bca62 100644 --- a/reactos/dll/win32/ws2_32_new/src/event.c +++ b/reactos/dll/win32/ws2_32_new/src/event.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/ioctl.c b/reactos/dll/win32/ws2_32_new/src/ioctl.c index 1b7b2d2..4865739 100644 --- a/reactos/dll/win32/ws2_32_new/src/ioctl.c +++ b/reactos/dll/win32/ws2_32_new/src/ioctl.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/nspinstl.c b/reactos/dll/win32/ws2_32_new/src/nspinstl.c index 0085276..4278ea6 100644 --- a/reactos/dll/win32/ws2_32_new/src/nspinstl.c +++ b/reactos/dll/win32/ws2_32_new/src/nspinstl.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/nsquery.c b/reactos/dll/win32/ws2_32_new/src/nsquery.c index f0ca98b..a9e6d92 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/qos.c b/reactos/dll/win32/ws2_32_new/src/qos.c index e0b02d2..af01a05 100644 --- a/reactos/dll/win32/ws2_32_new/src/qos.c +++ b/reactos/dll/win32/ws2_32_new/src/qos.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/qshelpr.c b/reactos/dll/win32/ws2_32_new/src/qshelpr.c index b26acb0..2bec7ac 100644 --- a/reactos/dll/win32/ws2_32_new/src/qshelpr.c +++ b/reactos/dll/win32/ws2_32_new/src/qshelpr.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/rasdial.c b/reactos/dll/win32/ws2_32_new/src/rasdial.c index b1b5723..0b5b709 100644 --- a/reactos/dll/win32/ws2_32_new/src/rasdial.c +++ b/reactos/dll/win32/ws2_32_new/src/rasdial.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* DATA **********************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/recv.c b/reactos/dll/win32/ws2_32_new/src/recv.c index 3b49137..57e76c2 100644 --- a/reactos/dll/win32/ws2_32_new/src/recv.c +++ b/reactos/dll/win32/ws2_32_new/src/recv.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/select.c b/reactos/dll/win32/ws2_32_new/src/select.c index fd5060e..a679600 100644 --- a/reactos/dll/win32/ws2_32_new/src/select.c +++ b/reactos/dll/win32/ws2_32_new/src/select.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/send.c b/reactos/dll/win32/ws2_32_new/src/send.c index d285421..0158d7d 100644 --- a/reactos/dll/win32/ws2_32_new/src/send.c +++ b/reactos/dll/win32/ws2_32_new/src/send.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ @@ -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) diff --git a/reactos/dll/win32/ws2_32_new/src/spinstal.c b/reactos/dll/win32/ws2_32_new/src/spinstal.c index d1e36d3..8b6ee89 100644 --- a/reactos/dll/win32/ws2_32_new/src/spinstal.c +++ b/reactos/dll/win32/ws2_32_new/src/spinstal.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/dll/win32/ws2_32_new/src/sputil.c b/reactos/dll/win32/ws2_32_new/src/sputil.c index 9e42557..854bee2 100644 --- a/reactos/dll/win32/ws2_32_new/src/sputil.c +++ b/reactos/dll/win32/ws2_32_new/src/sputil.c @@ -10,7 +10,7 @@ #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ -- 1.9.5.msysgit.0