summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
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;
}