cvs: php-src(PHP_5_1) /ext/standard http_fopen_wrapper.c

From: Date: Fri, 09 Dec 2005 18:53:10 +0000
Subject: cvs: php-src(PHP_5_1) /ext/standard http_fopen_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35847@lists.php.net to get a copy of this message
tony2001 Fri Dec 9 13:53:10 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/standard http_fopen_wrapper.c Log: php_stream_get_line() is a macro and it already has TSRMLS_CC http://cvs.php.net/diff.php/php-src/ext/standard/http_fopen_wrapper.c?r1=1.99.2.5&r2=1.99.2.6&ty=u Index: php-src/ext/standard/http_fopen_wrapper.c diff -u php-src/ext/standard/http_fopen_wrapper.c:1.99.2.5 php-src/ext/standard/http_fopen_wrapper.c:1.99.2.6 --- php-src/ext/standard/http_fopen_wrapper.c:1.99.2.5 Wed Dec 7 21:53:08 2005 +++ php-src/ext/standard/http_fopen_wrapper.c Fri Dec 9 13:53:09 2005 @@ -19,7 +19,7 @@ | Sara Golemon <pollita@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.99.2.5 2005/12/08 02:53:08 iliaa Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.99.2.6 2005/12/09 18:53:09 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -479,7 +479,7 @@ size_t tmp_line_len; /* get response header */ - if (_php_stream_get_line(stream, tmp_line, sizeof(tmp_line) - 1, &tmp_line_len TSRMLS_CC) != NULL) { + if (php_stream_get_line(stream, tmp_line, sizeof(tmp_line) - 1, &tmp_line_len) != NULL) { zval *http_response; int response_code; @@ -528,7 +528,7 @@ while (!body && !php_stream_eof(stream)) { size_t http_header_line_length; - if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length TSRMLS_CC) && *http_header_line != '\n' && *http_header_line != '\r') { + if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length) && *http_header_line != '\n' && *http_header_line != '\r') { char *e = http_header_line + http_header_line_length - 1; while (*e == '\n' || *e == '\r') { e--;

« previous php.cvs (#35847) next »