projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix uninitialized value
[m6w6/ext-http]
/
php_http_filter.c
diff --git
a/php_http_filter.c
b/php_http_filter.c
index 95b3cbf13f5096ed0856782b5107a3168a3e570b..5303f067cf87d41964687a8114457d1154ddbace 100644
(file)
--- a/
php_http_filter.c
+++ b/
php_http_filter.c
@@
-63,7
+63,7
@@
PHP_MINIT_FUNCTION(http_filter)
}
typedef struct _http_chunked_decode_filter_buffer_t {
}
typedef struct _http_chunked_decode_filter_buffer_t {
- php_http_buffer buffer;
+ php_http_buffer
_t
buffer;
ulong hexlen;
} PHP_HTTP_FILTER_BUFFER(chunked_decode);
ulong hexlen;
} PHP_HTTP_FILTER_BUFFER(chunked_decode);
@@
-223,7
+223,7
@@
static PHP_HTTP_FILTER_FUNCTION(chunked_encode)
/* new data available? */
if (buckets_in->head) {
/* new data available? */
if (buckets_in->head) {
- php_http_buffer buf;
+ php_http_buffer
_t
buf;
out_avail = 1;
php_http_buffer_init(&buf);
out_avail = 1;
php_http_buffer_init(&buf);