mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +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
2 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ UpdateLanStatus(HWND hwndDlg, LANSTATUSUI_CONTEXT * pContext)
|
|||
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)
|
||||
{
|
||||
|
@ -187,7 +187,7 @@ UpdateLanStatus(HWND hwndDlg, LANSTATUSUI_CONTEXT * pContext)
|
|||
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)
|
||||
{
|
||||
|
|
|
@ -339,7 +339,7 @@ RtlSetBits(
|
|||
}
|
||||
|
||||
/* Set all full ULONGs */
|
||||
RtlFillMemoryUlong(Buffer, MAXULONG, NumberToSet >> 3);
|
||||
RtlFillMemoryUlong(Buffer, NumberToSet >> 3, MAXULONG);
|
||||
Buffer += NumberToSet >> 5;
|
||||
|
||||
/* Set what's left */
|
||||
|
|
Loading…
Reference in a new issue