Author: ekohl
Date: Tue Sep 17 19:55:19 2013
New Revision: 60182
URL:
http://svn.reactos.org/svn/reactos?rev=60182&view=rev
Log:
[NETAPI32]
NetUserDel: Return the proper error code if no user could be found.
Modified:
trunk/reactos/dll/win32/netapi32/user.c
Modified: trunk/reactos/dll/win32/netapi32/user.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/user.c?…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] Tue Sep 17 19:55:19 2013
@@ -2350,7 +2350,7 @@
{
ERR("OpenUserByName failed (ApiStatus %lu)\n", ApiStatus);
if (ApiStatus == ERROR_NONE_MAPPED)
- ApiStatus = NERR_GroupNotFound;
+ ApiStatus = NERR_UserNotFound;
goto done;
}
}