https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6259be3afad261ec1035e…
commit 6259be3afad261ec1035e1da33fe9b9a2e0d472a
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Oct 29 18:52:34 2022 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Oct 29 18:52:34 2022 +0200
[CSRLIB] Remove old hack in CsrpConnectToServer(). ObjectDirectory cannot be NULL
(otherwise it's caller's bug).
---
subsystems/csr/csrlib/connect.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/subsystems/csr/csrlib/connect.c b/subsystems/csr/csrlib/connect.c
index 9765ac19a75..5b7c84c3e13 100644
--- a/subsystems/csr/csrlib/connect.c
+++ b/subsystems/csr/csrlib/connect.c
@@ -58,12 +58,6 @@ CsrpConnectToServer(
DPRINT("%s(%S)\n", __FUNCTION__, ObjectDirectory);
- /* Binary compatibility with MS KERNEL32 */
- if (NULL == ObjectDirectory)
- {
- ObjectDirectory = L"\\Windows";
- }
-
/* Calculate the total port name size */
PortNameLength = ((wcslen(ObjectDirectory) + 1) * sizeof(WCHAR)) +
sizeof(CSR_PORT_NAME);