summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2004-07-20 19:35:38 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2004-07-20 19:35:38 +0000
commite25a206e87d4432809db1d3d2853cc43a9884029 (patch)
tree500e4c6796e90d6006d34ac63cd87bf3d98773c0
parent514dfbfbed61fd834b5f96b480315d9cf6c2b511 (diff)
downloadphp-git-e25a206e87d4432809db1d3d2853cc43a9884029.tar.gz
oops...
-rw-r--r--ext/standard/filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/filters.c b/ext/standard/filters.c
index 6fd4da1688..0b3fd00877 100644
--- a/ext/standard/filters.c
+++ b/ext/standard/filters.c
@@ -176,7 +176,7 @@ typedef struct _php_strip_tags_filter {
static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, int allowed_tags_len, int persistent)
{
if (allowed_tags != NULL) {
- if (NULL != (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
+ if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
return FAILURE;
}
memcpy((char *)inst->allowed_tags, allowed_tags, allowed_tags_len);