physfs.c
changeset 474 80239868993d
parent 473 ae3574e75c5f
child 481 c2c8d56ec65c
--- a/physfs.c	Thu Aug 22 00:13:48 2002 +0000
+++ b/physfs.c	Thu Aug 22 10:36:19 2002 +0000
@@ -1227,10 +1227,9 @@
             {
                 __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 */