projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
s/IF_RETVAL_USED/if (return_value_used)/
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index aa8e51bba11f060ad78be3444ffb602cc0a8e6d6..155a06f08491c1eaaa2ad36b64e92e71fc199025 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-1838,7
+1838,7
@@
PHP_FUNCTION(http_request_method_unregister)
*/
PHP_FUNCTION(http_request_method_exists)
{
*/
PHP_FUNCTION(http_request_method_exists)
{
-
IF_RETVAL_USED
{
+
if (return_value_used)
{
zval *method;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &method)) {
zval *method;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &method)) {
@@
-1874,7
+1874,7
@@
PHP_FUNCTION(http_request_method_exists)
*/
PHP_FUNCTION(http_request_method_name)
{
*/
PHP_FUNCTION(http_request_method_name)
{
-
IF_RETVAL_USED
{
+
if (return_value_used)
{
long method;
if ((SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &method)) || (method < 0)) {
long method;
if ((SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &method)) || (method < 0)) {