mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +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);
|
ERR("OpenUserByName failed (ApiStatus %lu)\n", ApiStatus);
|
||||||
if (ApiStatus == ERROR_NONE_MAPPED)
|
if (ApiStatus == ERROR_NONE_MAPPED)
|
||||||
ApiStatus = NERR_GroupNotFound;
|
ApiStatus = NERR_UserNotFound;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue