summaryrefslogtreecommitdiffstats
path: root/php-pecl-http-build.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-31 15:12:21 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-31 15:12:21 +0100
commit24ade3b04d8ed7c282518ae319b998d9223b84dc (patch)
tree88623e47555ba01a7117e5b963e2b65f071c9ce5 /php-pecl-http-build.patch
parent0a2635a817797099ca5d7ab204b0b2dffb92b6f0 (diff)
php-pecl-http 2.0.0beta4
Diffstat (limited to 'php-pecl-http-build.patch')
-rw-r--r--php-pecl-http-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-pecl-http-build.patch b/php-pecl-http-build.patch
new file mode 100644
index 0000000..f6b30bf
--- /dev/null
+++ b/php-pecl-http-build.patch
@@ -0,0 +1,13 @@
+Index: php_http_client_datashare.c
+===================================================================
+--- php_http_client_datashare.c (révision 328937)
++++ php_http_client_datashare.c (copie de travail)
+@@ -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;