com php-src: Unbreak FAST_ZPP dead code: ext/standard /streamsfuncs.c
| From: | Andrea Faulds | Date: | Mon, 05 Sep 2016 21:12:26 +0000 |
| Subject: | com php-src: Unbreak FAST_ZPP dead code: ext/standard /streamsfuncs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94329@lists.php.net to get a copy of this message | ||
Commit: 009ee6e503fd2f354f6eda2b6a74f13344dca3b0
Author: Andrea Faulds <ajf@ajf.me> Mon, 5 Sep 2016 22:12:26 +0100
Parents: 4fa52b42c76a87d85ce15b03e32f2f674665e060
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=009ee6e503fd2f354f6eda2b6a74f13344dca3b0
Log:
Unbreak FAST_ZPP dead code
Changed paths:
M ext/standard/streamsfuncs.c
Diff:
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c
index e39f9b4..f76769c 100644
--- a/ext/standard/streamsfuncs.c
+++ b/ext/standard/streamsfuncs.c
@@ -996,7 +996,7 @@ PHP_FUNCTION(stream_context_set_option)
zval *options;
#ifndef FAST_ZPP
- if (zend_parse_parameters(, ZEND_NUM_ARGS(), "ra", &zcontext, &options) ==
FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "ra", &zcontext, &options) ==
FAILURE) {
RETURN_FALSE;
}
#else
@@ -1511,7 +1511,7 @@ PHP_FUNCTION(stream_socket_enable_crypto)
zend_bool enable, cryptokindnull;
int ret;
-#ifdef FAST_ZPP
+#ifndef FAST_ZPP
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb|l!r", &zstream, &enable,
&cryptokind, &cryptokindnull, &zsessstream) == FAILURE) {
RETURN_FALSE;
}