mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NETAPI32]
NetUserDel: Return the proper error code if no user could be found. svn path=/trunk/; revision=60182
This commit is contained in:
parent
86ec9a3cc3
commit
e44be02d25
1 changed files with 1 additions and 1 deletions
|
@ -2350,7 +2350,7 @@ NetUserDel(LPCWSTR servername,
|
|||
{
|
||||
ERR("OpenUserByName failed (ApiStatus %lu)\n", ApiStatus);
|
||||
if (ApiStatus == ERROR_NONE_MAPPED)
|
||||
ApiStatus = NERR_GroupNotFound;
|
||||
ApiStatus = NERR_UserNotFound;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue