summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-20 14:38:13 +0000
committerWez Furlong <wez@php.net>2002-03-20 14:38:13 +0000
commit3dbde958967b28cba3f03629b21081208d1e0ac2 (patch)
tree46061964bbb5dc9581cf9c8b8b9732bb96787592 /ext/zlib/zlib.c
parent659a071e3df2f16cd21083d1dec8c19e199f7757 (diff)
downloadphp-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.c2
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);
}