summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
committerSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
commit5c83dc9adee4691690822a05b290d7d9a9c04c31 (patch)
tree4c22c901829598dfe7fa599c41c0b2cb569f4afa /main/streams
parent8091552925399dc7dbe4d5c47e1cc53f900bc670 (diff)
downloadphp-git-php-5.0.0RC4.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_0_0RC4'.php-5.0.0RC4
Diffstat (limited to 'main/streams')
-rwxr-xr-xmain/streams/streams.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index fc3d893e09..86f78847dd 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -1231,8 +1231,6 @@ PHPAPI size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen
*buf = perealloc_rel_orig(*buf, max_len + step, persistent);
max_len += step;
ptr = *buf + len;
- } else {
- ptr += ret;
}
}
if (len) {
@@ -1376,7 +1374,7 @@ int php_init_stream_wrappers(int module_number TSRMLS_DC)
int php_shutdown_stream_wrappers(int module_number TSRMLS_DC)
{
zend_hash_destroy(&url_stream_wrappers_hash);
- zend_hash_destroy(php_get_stream_filters_hash_global());
+ zend_hash_destroy(php_get_stream_filters_hash());
zend_hash_destroy(php_stream_xport_get_hash());
return SUCCESS;
}