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:
2604ca2
)
fix memset arg order
author
Remi Collet
<remi@php.net>
Mon, 31 Dec 2012 13:47:22 +0000
(13:47 +0000)
committer
Remi Collet
<remi@php.net>
Mon, 31 Dec 2012 13:47:22 +0000
(13:47 +0000)
php_http_client_datashare.c
patch
|
blob
|
history
diff --git
a/php_http_client_datashare.c
b/php_http_client_datashare.c
index 387df53656ddc2875f0e065b3f56adabdcaf942e..4b9293907917f935f17e7e69bfcc4b0c5eed901b 100644
(file)
--- a/
php_http_client_datashare.c
+++ b/
php_http_client_datashare.c
@@
-22,7
+22,7
@@
PHP_HTTP_API php_http_client_datashare_t *php_http_client_datashare_init(php_htt
if (!h) {
free_h = h = emalloc(sizeof(*h));
}
- memset(h,
sizeof(*h), 0
);
+ memset(h,
0, sizeof(*h)
);
zend_llist_init(&h->clients, sizeof(zval *), ZVAL_PTR_DTOR, 0);
h->ops = ops;