mirror of
https://github.com/reactos/reactos.git
synced 2024-08-18 17:37:02 +00:00
- Fix the order of checks
svn path=/trunk/; revision=41590
This commit is contained in:
parent
d516d6898c
commit
5c78f6d219
|
@ -703,7 +703,7 @@ NdisReadNetworkAddress(
|
||||||
str = ParameterValue->ParameterData.StringData;
|
str = ParameterValue->ParameterData.StringData;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (str.Buffer[j] != '\0' && j < str.Length) j++;
|
while (j < str.Length && str.Buffer[j] != '\0') j++;
|
||||||
|
|
||||||
*NetworkAddressLength = (UINT)((j/2)+0.5);
|
*NetworkAddressLength = (UINT)((j/2)+0.5);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue