Skip to content

Commit

Permalink
Fix fir bug #72520
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Jul 13, 2016
1 parent 0218acb commit 81406c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/zip/zip_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ php_stream *php_stream_zip_open(char *filename, char *path, char *mode STREAMS_D
self = emalloc(sizeof(*self));

self->za = stream_za;
self->zf = zf;
self->zf = zf;
self->stream = NULL;
self->cursor = 0;
stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
Expand All @@ -241,7 +241,7 @@ php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper,
char **opened_path,
php_stream_context *context STREAMS_DC TSRMLS_DC)
{
int path_len;
size_t path_len;

char *file_basename;
size_t file_basename_len;
Expand All @@ -250,7 +250,7 @@ php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper,
struct zip *za;
struct zip_file *zf = NULL;
char *fragment;
int fragment_len;
size_t fragment_len;
int err;

php_stream *stream = NULL;
Expand Down Expand Up @@ -293,7 +293,7 @@ php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper,
self = emalloc(sizeof(*self));

self->za = za;
self->zf = zf;
self->zf = zf;
self->stream = NULL;
self->cursor = 0;
stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
Expand Down

0 comments on commit 81406c0

Please sign in to comment.