summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r--main/rfc1867.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 86f07fbbf7..018b174c90 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -61,8 +61,7 @@ void php_mime_split(char *buf, int cnt, char *boundary)
if (PG(track_vars)) {
http_post_vars = (pval *) emalloc(sizeof(pval));
array_init(http_post_vars);
- http_post_vars->refcount=1;
- http_post_vars->EA=0;
+ INIT_PZVAL(http_post_vars);
zend_hash_add(&EG(symbol_table), "HTTP_POST_VARS", sizeof("HTTP_POST_VARS"), &http_post_vars, sizeof(pval *), NULL);
}