summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2006-04-29 18:29:14 +0000
committerFrank M. Kromann <fmk@php.net>2006-04-29 18:29:14 +0000
commiteb7d1077db0f4ffaeeced3e20ad04f260b9b5348 (patch)
tree8d746cfe24c16d4195c238b3e2a06b72118c4310 /ext/soap/php_http.c
parent954199c9fbd0513d24d387391d20e09b24068104 (diff)
downloadphp-git-eb7d1077db0f4ffaeeced3e20ad04f260b9b5348.tar.gz
Add missing ZSTR()
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index f18d10042c..e492025b81 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -1186,7 +1186,7 @@ static int get_http_body(php_stream *stream, int close, char *headers, char **r
while (!done) {
int buf_size = 0;
- php_stream_gets(stream, chunk_size, sizeof(chunk_size));
+ php_stream_gets(stream, ZSTR(chunk_size), sizeof(chunk_size));
if (sscanf(chunk_size, "%x", &buf_size) > 0 ) {
if (buf_size > 0) {
int len_size = 0;
@@ -1266,7 +1266,7 @@ static int get_http_headers(php_stream *stream, char **response, int *out_size T
char headerbuf[8192];
while (!done) {
- if (!php_stream_gets(stream, headerbuf, sizeof(headerbuf))) {
+ if (!php_stream_gets(stream, ZSTR(headerbuf), sizeof(headerbuf))) {
break;
}