mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Fix the order of checks
svn path=/trunk/; revision=41590
This commit is contained in:
@@ -703,7 +703,7 @@ NdisReadNetworkAddress(
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user