[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] =?utf-8?q?svn:_/pecl/http/branches/DEV=5F2/_php=5Fhttp=5Fclient=5Fdatashare.c?=
From:       Remi_Collet <remi () php ! net>
Date:       2012-12-31 13:47:22
Message-ID: svn-remi-1356961642-328938-500787604 () svn ! php ! net
[Download RAW message or body]

remi                                     Mon, 31 Dec 2012 13:47:22 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=328938

Log:
fix memset arg order

Changed paths:
    U   pecl/http/branches/DEV_2/php_http_client_datashare.c

Modified: pecl/http/branches/DEV_2/php_http_client_datashare.c
===================================================================
--- pecl/http/branches/DEV_2/php_http_client_datashare.c	2012-12-31 11:53:40 UTC (rev 328937)
+++ pecl/http/branches/DEV_2/php_http_client_datashare.c	2012-12-31 13:47:22 UTC (rev 328938)
@@ -22,7 +22,7 @@
 	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;



-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic