summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_get_archive_comment.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-07-19 15:20:48 +0000
committerPierre Joye <pajoye@php.net>2009-07-19 15:20:48 +0000
commitf031901b1b9d820010aceda6c2301c1064dadadf (patch)
tree65dad994d5d8e52b8b49bd5b8f6044424699267c /ext/zip/lib/zip_get_archive_comment.c
parent7655762e4089ae28ee5982336e698d60df32b7f5 (diff)
downloadphp-git-f031901b1b9d820010aceda6c2301c1064dadadf.tar.gz
- WS
Diffstat (limited to 'ext/zip/lib/zip_get_archive_comment.c')
-rw-r--r--ext/zip/lib/zip_get_archive_comment.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/zip/lib/zip_get_archive_comment.c b/ext/zip/lib/zip_get_archive_comment.c
index fe97e6e8c1..ed1324fd5b 100644
--- a/ext/zip/lib/zip_get_archive_comment.c
+++ b/ext/zip/lib/zip_get_archive_comment.c
@@ -42,11 +42,11 @@ zip_get_archive_comment(struct zip *za, int *lenp, int flags)
{
if ((flags & ZIP_FL_UNCHANGED)
|| (za->ch_comment_len == -1)) {
- if (za->cdir) {
- if (lenp != NULL)
- *lenp = za->cdir->comment_len;
- return za->cdir->comment;
- }
+ if (za->cdir) {
+ if (lenp != NULL)
+ *lenp = za->cdir->comment_len;
+ return za->cdir->comment;
+ }
else {
if (lenp != NULL)
*lenp = -1;