Skip to content
Permalink
Browse files
Minor streamlining.
  • Loading branch information
icculus committed Aug 22, 2002
1 parent 2e0c0fa commit c2a4dd6378e11466d25f8df100038feb9ac2457f
Showing with 1 addition and 2 deletions.
  1. +1 −2 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 */

0 comments on commit c2a4dd6

Please sign in to comment.