mirror of
https://github.com/reactos/reactos.git
synced 2025-05-05 09:57:04 +00:00
[NET] Revert useless changes
This commit is contained in:
parent
b4969dc0d7
commit
506bd64e44
2 changed files with 4 additions and 4 deletions
|
@ -164,7 +164,7 @@ cmdAccounts(
|
|||
}
|
||||
}
|
||||
|
||||
if (Modified != FALSE)
|
||||
if (Modified == TRUE)
|
||||
{
|
||||
Status = NetUserModalsSet(NULL, 0, (LPBYTE)Info0, &ParamErr);
|
||||
if (Status != NERR_Success)
|
||||
|
|
|
@ -14,7 +14,7 @@ static WCHAR szPasswordChars[] = L"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHI
|
|||
|
||||
static
|
||||
int
|
||||
CompareUserInfo(const void *a, const void *b)
|
||||
CompareInfo(const void *a, const void *b)
|
||||
{
|
||||
return _wcsicmp(((PUSER_INFO_0)a)->usri0_name,
|
||||
((PUSER_INFO_0)b)->usri0_name);
|
||||
|
@ -62,7 +62,7 @@ EnumerateUsers(VOID)
|
|||
qsort(pBuffer,
|
||||
dwRead,
|
||||
sizeof(PUSER_INFO_0),
|
||||
CompareUserInfo);
|
||||
CompareInfo);
|
||||
|
||||
for (i = 0; i < dwRead; i++)
|
||||
{
|
||||
|
@ -662,7 +662,7 @@ cmdUser(
|
|||
}
|
||||
|
||||
done:
|
||||
if ((bPasswordAllocated != FALSE) && (lpPassword != NULL))
|
||||
if ((bPasswordAllocated == TRUE) && (lpPassword != NULL))
|
||||
HeapFree(GetProcessHeap(), 0, lpPassword);
|
||||
|
||||
if (!bAdd && !bDelete && pUserInfo != NULL)
|
||||
|
|
Loading…
Reference in a new issue