mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +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);
|
Status = NetUserModalsSet(NULL, 0, (LPBYTE)Info0, &ParamErr);
|
||||||
if (Status != NERR_Success)
|
if (Status != NERR_Success)
|
||||||
|
|
|
@ -14,7 +14,7 @@ static WCHAR szPasswordChars[] = L"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHI
|
||||||
|
|
||||||
static
|
static
|
||||||
int
|
int
|
||||||
CompareUserInfo(const void *a, const void *b)
|
CompareInfo(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
return _wcsicmp(((PUSER_INFO_0)a)->usri0_name,
|
return _wcsicmp(((PUSER_INFO_0)a)->usri0_name,
|
||||||
((PUSER_INFO_0)b)->usri0_name);
|
((PUSER_INFO_0)b)->usri0_name);
|
||||||
|
@ -62,7 +62,7 @@ EnumerateUsers(VOID)
|
||||||
qsort(pBuffer,
|
qsort(pBuffer,
|
||||||
dwRead,
|
dwRead,
|
||||||
sizeof(PUSER_INFO_0),
|
sizeof(PUSER_INFO_0),
|
||||||
CompareUserInfo);
|
CompareInfo);
|
||||||
|
|
||||||
for (i = 0; i < dwRead; i++)
|
for (i = 0; i < dwRead; i++)
|
||||||
{
|
{
|
||||||
|
@ -662,7 +662,7 @@ cmdUser(
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
if ((bPasswordAllocated != FALSE) && (lpPassword != NULL))
|
if ((bPasswordAllocated == TRUE) && (lpPassword != NULL))
|
||||||
HeapFree(GetProcessHeap(), 0, lpPassword);
|
HeapFree(GetProcessHeap(), 0, lpPassword);
|
||||||
|
|
||||||
if (!bAdd && !bDelete && pUserInfo != NULL)
|
if (!bAdd && !bDelete && pUserInfo != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue