mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
[RTL][NETSHELL]
- Fix the remaining issues from preceding commits svn path=/trunk/; revision=53522
This commit is contained in:
parent
6b2123e650
commit
59f551c02b
|
@ -179,7 +179,7 @@ UpdateLanStatus(HWND hwndDlg, LANSTATUSUI_CONTEXT * pContext)
|
||||||
pContext->Status = 3;
|
pContext->Status = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (IfEntry.dwOperStatus == (MIB_IF_OPER_STATUS_UNREACHABLE | MIB_IF_OPER_STATUS_DISCONNECTED))
|
else if (IfEntry.dwOperStatus == MIB_IF_OPER_STATUS_UNREACHABLE || IfEntry.dwOperStatus == MIB_IF_OPER_STATUS_DISCONNECTED)
|
||||||
{
|
{
|
||||||
if (pContext->Status != 4)
|
if (pContext->Status != 4)
|
||||||
{
|
{
|
||||||
|
@ -187,7 +187,7 @@ UpdateLanStatus(HWND hwndDlg, LANSTATUSUI_CONTEXT * pContext)
|
||||||
pContext->Status = 4;
|
pContext->Status = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (MIB_IF_OPER_STATUS_NON_OPERATIONAL)
|
else if (IfEntry.dwOperStatus == MIB_IF_OPER_STATUS_NON_OPERATIONAL)
|
||||||
{
|
{
|
||||||
if (pContext->Status != 5)
|
if (pContext->Status != 5)
|
||||||
{
|
{
|
||||||
|
|
|
@ -339,7 +339,7 @@ RtlSetBits(
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set all full ULONGs */
|
/* Set all full ULONGs */
|
||||||
RtlFillMemoryUlong(Buffer, MAXULONG, NumberToSet >> 3);
|
RtlFillMemoryUlong(Buffer, NumberToSet >> 3, MAXULONG);
|
||||||
Buffer += NumberToSet >> 5;
|
Buffer += NumberToSet >> 5;
|
||||||
|
|
||||||
/* Set what's left */
|
/* Set what's left */
|
||||||
|
|
Loading…
Reference in a new issue