From: Remi Collet Date: Mon, 31 Dec 2012 13:47:22 +0000 (+0000) Subject: fix memset arg order X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~49 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6519517dbcc5d55117b3fa94572fe93123ddfe56;p=m6w6%2Fext-http fix memset arg order --- diff --git a/php_http_client_datashare.c b/php_http_client_datashare.c index 387df53..4b92939 100644 --- 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;