projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
package.xml updates
[m6w6/ext-http]
/
http_filter_api.c
diff --git
a/http_filter_api.c
b/http_filter_api.c
index d072787bea510a079a2ff9c7101d7e4ed6401163..a78bb7b4cc819295deb19965034ed93dd6a195c0 100644
(file)
--- a/
http_filter_api.c
+++ b/
http_filter_api.c
@@
-500,11
+500,10
@@
static php_stream_filter *http_filter_create(const char *name, zval *params, int
}
default:
{
}
default:
{
- zval *
orig = *tmp
;
+ zval *
num = http_zsep(IS_LONG, *tmp)
;
- convert_to_long_ex(tmp);
- flags |= (Z_LVAL_PP(tmp) & 0x0fffffff);
- if (orig != *tmp) zval_ptr_dtor(tmp);
+ flags |= (Z_LVAL_P(num) & 0x0fffffff);
+ zval_ptr_dtor(&num);
}
}
}
}
}
}