projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ec9a3
)
[NETAPI32]
author
Eric Kohl
<eric.kohl@reactos.org>
Tue, 17 Sep 2013 19:55:19 +0000
(19:55 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Tue, 17 Sep 2013 19:55:19 +0000
(19:55 +0000)
NetUserDel: Return the proper error code if no user could be found.
svn path=/trunk/; revision=60182
reactos/dll/win32/netapi32/user.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/netapi32/user.c
b/reactos/dll/win32/netapi32/user.c
index
c92704c
..
291a3e5
100644
(file)
--- a/
reactos/dll/win32/netapi32/user.c
+++ b/
reactos/dll/win32/netapi32/user.c
@@
-2350,7
+2350,7
@@
NetUserDel(LPCWSTR servername,
{
ERR("OpenUserByName failed (ApiStatus %lu)\n", ApiStatus);
if (ApiStatus == ERROR_NONE_MAPPED)
- ApiStatus = NERR_
Group
NotFound;
+ ApiStatus = NERR_
User
NotFound;
goto done;
}
}