diff options
Diffstat (limited to 'ext/zip/lib/zip_name_locate.c')
-rw-r--r-- | ext/zip/lib/zip_name_locate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/zip/lib/zip_name_locate.c b/ext/zip/lib/zip_name_locate.c index 3cac110543..e527a5cda5 100644 --- a/ext/zip/lib/zip_name_locate.c +++ b/ext/zip/lib/zip_name_locate.c @@ -17,7 +17,7 @@ 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -31,7 +31,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + #include <string.h> #ifdef HAVE_STRINGS_H @@ -40,7 +40,7 @@ #include "zipint.h" - + ZIP_EXTERN zip_int64_t zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags) @@ -48,7 +48,7 @@ zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags) return _zip_name_locate(za, fname, flags, &za->error); } - + zip_int64_t _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zip_error *error) @@ -73,7 +73,7 @@ _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zi /* newly added (partially filled) entry or error */ if (fn == NULL) continue; - + if (flags & ZIP_FL_NODIR) { p = strrchr(fn, '/'); if (p) |