summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_get_archive_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/lib/zip_get_archive_comment.c')
-rw-r--r--ext/zip/lib/zip_get_archive_comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/lib/zip_get_archive_comment.c b/ext/zip/lib/zip_get_archive_comment.c
index 40feb4eba1..7844c5e191 100644
--- a/ext/zip/lib/zip_get_archive_comment.c
+++ b/ext/zip/lib/zip_get_archive_comment.c
@@ -47,7 +47,7 @@ zip_get_archive_comment(struct zip *za, int *lenp, int flags)
|| (za->ch_comment_len == -1)) {
if (za->cdir) {
if (lenp != NULL)
- *lenp = za->cdir->comment_len;
+ *lenp = za->cdir->comment_len;
return za->cdir->comment;
}
}