diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-27 10:21:07 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-27 10:21:07 +0100 |
commit | 3c23f3d805486704c3af0e5d4db9b07edbea4c74 (patch) | |
tree | d2bab4e3c89113969a82e88bbb5c9d4b480b5ada /swoole-pr462.patch | |
parent | e44202279b4c7785ddf0e7d90c2a4320a444e7a0 (diff) |
php-pecl-swoole: 1.8.0
Diffstat (limited to 'swoole-pr462.patch')
-rw-r--r-- | swoole-pr462.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/swoole-pr462.patch b/swoole-pr462.patch deleted file mode 100644 index b6b52f9..0000000 --- a/swoole-pr462.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2a506ab42328dc8d9d1ad7ecb9cec23f1c04e2a2 Mon Sep 17 00:00:00 2001 -From: Remi Collet <fedora@famillecollet.com> -Date: Thu, 31 Dec 2015 09:11:21 +0100 -Subject: [PATCH] Use concat_function with PHP 7, fix #461 - ---- - swoole_http_client.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/swoole_http_client.c b/swoole_http_client.c -index 8197d56..a6b358f 100644 ---- a/swoole_http_client.c -+++ b/swoole_http_client.c -@@ -1024,7 +1024,11 @@ static int http_client_parser_on_body(php_http_parser *parser, const char *at, s - zval *tmp;
- SW_MAKE_STD_ZVAL(tmp);
- SW_ZVAL_STRINGL(tmp, at, length, 1);
-+#if PHP_MAJOR_VERSION < 7
- add_string_to_string(body, body, tmp);
-+#else
-+ concat_function(body, body, tmp);
-+#endif
- sw_zval_ptr_dtor(&tmp);
-
- return 0;
|