mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 04:26:32 +00:00
[NETAPI32] NetSessionEnum: UncClientName and username are optional
Do not fail if UncClientName and username are null.
This commit is contained in:
parent
abe8f0ab1d
commit
c70d755059
1 changed files with 0 additions and 3 deletions
|
@ -663,9 +663,6 @@ NetSessionEnum(
|
|||
if (level > 2 && level != 10 && level != 502)
|
||||
return ERROR_INVALID_LEVEL;
|
||||
|
||||
if (UncClientName == NULL || username == NULL)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
*bufptr = NULL;
|
||||
*entriesread = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue