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);
|
||||
retval = 0;
|
||||
break;
|
||||
} /* if */
|
||||
|
||||
/* break out early if path element is missing. */
|
||||
/* break out early if path element is missing or it's a symlink. */
|
||||
if (!retval)
|
||||
break;
|
||||
} /* if */
|
||||
|
|
Loading…
Reference in New Issue