summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-08-14 11:52:46 +0800
committerXinchen Hui <laruence@php.net>2014-08-14 11:52:46 +0800
commitbfc1ae07bec3bda6dc0522da50b35ba093d4247c (patch)
treece6d954be2be675df92a9cab7c662bc73a6491e0 /ext/soap/php_http.c
parent35dd200430994b1b2807633e5d5dd3370b59633e (diff)
parent73fe4186370d8ca8bd0b8a4a8f995852cb42fa75 (diff)
downloadphp-git-bfc1ae07bec3bda6dc0522da50b35ba093d4247c.tar.gz
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 1fa386043d..bb2a6c7a53 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -995,8 +995,7 @@ try_again:
add_index_string(&zcookie, 2, phpurl->host);
}
- // TODO: avoid reallocation ???
- add_assoc_zval_ex(cookies, name.s->val, name.s->len, &zcookie);
+ zend_symtable_update(Z_ARRVAL_P(cookies), name.s, &zcookie);
smart_str_free(&name);
}