projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
be9585b
)
copy driver name
author
Michael Wallner
<mike@php.net>
Mon, 9 Feb 2015 08:24:09 +0000
(09:24 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 9 Feb 2015 08:24:09 +0000
(09:24 +0100)
php_http_client.c
patch
|
blob
|
history
diff --git
a/php_http_client.c
b/php_http_client.c
index 4e55356ed4abf2f86f8c2a62914025c65d7b6f7e..92398f3e471f3c80597c4bb070721068a834f055 100644
(file)
--- a/
php_http_client.c
+++ b/
php_http_client.c
@@
-50,7
+50,7
@@
static int apply_driver_list(zval *p, void *arg)
php_http_client_driver_t *d = Z_PTR_P(p);
zval zname;
- ZVAL_STR(&zname, d->driver_name);
+ ZVAL_STR
_COPY
(&zname, d->driver_name);
zend_hash_next_index_insert(arg, &zname);
return ZEND_HASH_APPLY_KEEP;