From: Frank M. Kromann Date: Sat, 29 Apr 2006 18:29:14 +0000 (+0000) Subject: Add missing ZSTR() X-Git-Tag: BEFORE_NEW_OUTPUT_API~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb7d1077db0f4ffaeeced3e20ad04f260b9b5348;p=php Add missing ZSTR() --- 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; }