mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
cygwin: fix formatting in check_reparse_point_target
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
be1485191f
commit
42f1be581c
@ -2276,10 +2276,10 @@ check_reparse_point_target (PUNICODE_STRING subst)
|
||||
*/
|
||||
if (RtlEqualUnicodePathPrefix (subst, &ro_u_natp, FALSE))
|
||||
{
|
||||
if (subst->Length >= 6*sizeof(WCHAR) && subst->Buffer[5] == L':' &&
|
||||
(subst->Length == 6*sizeof(WCHAR) || subst->Buffer[6] == L'\\'))
|
||||
if (subst->Length >= 6 * sizeof(WCHAR) && subst->Buffer[5] == L':' &&
|
||||
(subst->Length == 6 * sizeof(WCHAR) || subst->Buffer[6] == L'\\'))
|
||||
return true;
|
||||
else if (subst->Length >= 8*sizeof(WCHAR) &&
|
||||
else if (subst->Length >= 8 * sizeof(WCHAR) &&
|
||||
wcsncmp (subst->Buffer + 4, L"UNC\\", 4) == 0)
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user