add missing RETURN_STRINGL_CHECK
authorAnatol Belski <ab@php.net>
Sun, 6 Nov 2016 16:51:25 +0000 (17:51 +0100)
committerAnatol Belski <ab@php.net>
Sun, 6 Nov 2016 16:51:25 +0000 (17:51 +0100)
As RETVAL_STRINGL_CHECK is already there, this one is needed for
completion. One place in ext/bz2 is missing that, so it will likely
be useful for other possible fixes.

Zend/zend_API.h

index dadeaf58492e0a80510e0bf7f7ecaf5236503973..41aa65f25b0f7600ddd17baf1f5024f1685b0a64 100644 (file)
@@ -667,6 +667,7 @@ END_EXTERN_C()
        }                                                                               \
        RETVAL_STRINGL((s), (int)__len, (dup)); \
 } while (0)
+#define RETURN_STRINGL_CHECK(s, len, dup) { RETVAL_STRINGL_CHECK(s, len, dup); return; }
 
 
 #define SET_VAR_STRING(n, v) {                                                                                                                                                         \