]> granicus.if.org Git - php/commitdiff
Unbreak FAST_ZPP dead code
authorAndrea Faulds <ajf@ajf.me>
Mon, 5 Sep 2016 21:12:26 +0000 (22:12 +0100)
committerAndrea Faulds <ajf@ajf.me>
Mon, 5 Sep 2016 21:12:26 +0000 (22:12 +0100)
ext/standard/streamsfuncs.c

index e39f9b4cfc64b4163cb308d3d65ad2354820b54e..f76769c27c8cf320aae4bcd81d85628170306d28 100644 (file)
@@ -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;
        }