diff options
author | Wez Furlong <wez@php.net> | 2002-03-20 14:38:13 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-20 14:38:13 +0000 |
commit | 3dbde958967b28cba3f03629b21081208d1e0ac2 (patch) | |
tree | 46061964bbb5dc9581cf9c8b8b9732bb96787592 /ext/zlib/zlib.c | |
parent | 659a071e3df2f16cd21083d1dec8c19e199f7757 (diff) | |
download | php-git-3dbde958967b28cba3f03629b21081208d1e0ac2.tar.gz |
Make state parameter of php_strip_tags passed by reference.
Move state tracking to stream structure.
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 9c46953f83..ce5b67ffdf 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -517,7 +517,7 @@ PHP_FUNCTION(gzgetss) } /* strlen() can be used here since we are doing it on the return of an fgets() anyway */ - php_strip_tags(buf, strlen(buf), ZLIBG(gzgetss_state), allowed_tags, allowed_tags_len); + php_strip_tags(buf, strlen(buf), &ZLIBG(gzgetss_state), allowed_tags, allowed_tags_len); RETURN_STRING(buf, 0); } |