mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NETAPI32] NetSessionEnum: UncClientName and username are optional
Do not fail if UncClientName and username are null.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user