cvs: php4 /ext/standard http_fopen_wrapper.c

From: Date: Sat, 04 May 2002 17:16:28 +0000
Subject: cvs: php4 /ext/standard http_fopen_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11672@lists.php.net to get a copy of this message
sas Sat May 4 13:16:28 2002 EDT Modified files: /php4/ext/standard http_fopen_wrapper.c Log: redirected is set but never used Index: php4/ext/standard/http_fopen_wrapper.c diff -u php4/ext/standard/http_fopen_wrapper.c:1.34 php4/ext/standard/http_fopen_wrapper.c:1.35 --- php4/ext/standard/http_fopen_wrapper.c:1.34 Mon Apr 29 20:30:00 2002 +++ php4/ext/standard/http_fopen_wrapper.c Sat May 4 13:16:28 2002 @@ -18,7 +18,7 @@ | Wez Furlong <wez@thebrainroom.com> | +----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.34 2002/04/30 00:30:00 wez Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.35 2002/05/04 17:16:28 sas Exp $ */ #include "php.h" #include "php_globals.h" @@ -85,7 +85,6 @@ char *http_header_line = NULL; char tmp_line[128]; size_t chunk_size = 0, file_size = 0; - int redirected = 0; resource = php_url_parse(path); if (resource == NULL) @@ -304,7 +303,6 @@ else { strlcpy(new_path, location, sizeof(new_path)); } - redirected = 1; stream = php_stream_url_wrap_http(NULL, new_path, mode, options, opened_path, context STREAMS_CC TSRMLS_CC); if (stream && stream->wrapperdata) { entryp = &entry;

« previous php.cvs (#11672) next »