From c2a4dd6378e11466d25f8df100038feb9ac2457f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 22 Aug 2002 10:36:19 +0000 Subject: [PATCH] Minor streamlining. --- physfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/physfs.c b/physfs.c index 748b12bd..5fd6024c 100644 --- a/physfs.c +++ b/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 */