Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor streamlining.
  • Loading branch information
icculus committed Aug 22, 2002
1 parent 2e0c0fa commit c2a4dd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions physfs.c
Expand Up @@ -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 */
Expand Down

0 comments on commit c2a4dd6

Please sign in to comment.