]> granicus.if.org Git - php/commitdiff
Add missing ZSTR()
authorFrank M. Kromann <fmk@php.net>
Sat, 29 Apr 2006 18:29:14 +0000 (18:29 +0000)
committerFrank M. Kromann <fmk@php.net>
Sat, 29 Apr 2006 18:29:14 +0000 (18:29 +0000)
ext/soap/php_http.c

index f18d10042cf3d93db4f4a5a3e4b71e158eaca9ea..e492025b819f503698fd8bf8f3d0e73e363eeb3e 100644 (file)
@@ -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;
                }