diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-02-18 11:14:22 -0500 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-01 15:49:05 +0200 |
commit | d63eca285aca32db26e54214c0a1371a14ea9e31 (patch) | |
tree | 85b4ec5539fcbb8e6e10a5d08c6a724672b11b36 /ext/bz2/bz2_filter.c | |
parent | 31a626cf7e53ddb13e9f3cd3c094fbd04a59e10c (diff) | |
download | php-git-d63eca285aca32db26e54214c0a1371a14ea9e31.tar.gz |
Fix miscellaneous typos in code comments/var names
Closes GH-5501
Diffstat (limited to 'ext/bz2/bz2_filter.c')
-rw-r--r-- | ext/bz2/bz2_filter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/bz2/bz2_filter.c b/ext/bz2/bz2_filter.c index bb001198f4..0cb1729e00 100644 --- a/ext/bz2/bz2_filter.c +++ b/ext/bz2/bz2_filter.c @@ -24,7 +24,7 @@ /* {{{ data structure */ enum strm_status { - PHP_BZ2_UNITIALIZED, + PHP_BZ2_UNINITIALIZED, PHP_BZ2_RUNNING, PHP_BZ2_FINISHED }; @@ -89,7 +89,7 @@ static php_stream_filter_status_t php_bz2_decompress_filter( bucket = php_stream_bucket_make_writeable(buckets_in->head); while (bin < bucket->buflen) { - if (data->status == PHP_BZ2_UNITIALIZED) { + if (data->status == PHP_BZ2_UNINITIALIZED) { status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); if (BZ_OK != status) { @@ -117,7 +117,7 @@ static php_stream_filter_status_t php_bz2_decompress_filter( if (status == BZ_STREAM_END) { BZ2_bzDecompressEnd(&(data->strm)); if (data->expect_concatenated) { - data->status = PHP_BZ2_UNITIALIZED; + data->status = PHP_BZ2_UNINITIALIZED; } else { data->status = PHP_BZ2_FINISHED; } @@ -347,7 +347,7 @@ static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *fi } } - data->status = PHP_BZ2_UNITIALIZED; + data->status = PHP_BZ2_UNINITIALIZED; fops = &php_bz2_decompress_ops; } else if (strcasecmp(filtername, "bzip2.compress") == 0) { int blockSize100k = PHP_BZ2_FILTER_DEFAULT_BLOCKSIZE; |