Minor streamlining.
This commit is contained in:
parent
2e0c0faa1d
commit
c2a4dd6378
3
physfs.c
3
physfs.c
|
@ -1227,10 +1227,9 @@ int __PHYSFS_verifySecurity(DirHandle *h, const char *fname)
|
||||||
{
|
{
|
||||||
__PHYSFS_setError(ERR_SYMLINK_DISALLOWED);
|
__PHYSFS_setError(ERR_SYMLINK_DISALLOWED);
|
||||||
retval = 0;
|
retval = 0;
|
||||||
break;
|
|
||||||
} /* if */
|
} /* if */
|
||||||
|
|
||||||
/* break out early if path element is missing. */
|
/* break out early if path element is missing or it's a symlink. */
|
||||||
if (!retval)
|
if (!retval)
|
||||||
break;
|
break;
|
||||||
} /* if */
|
} /* if */
|
||||||
|
|
Loading…
Reference in New Issue