mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[CSRLIB] Remove old hack in CsrpConnectToServer(). ObjectDirectory cannot be NULL (otherwise it's caller's bug).
This commit is contained in:
parent
141daf4de8
commit
6259be3afa
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue