com php-src: fix build: ext/spl/spl_directory.c
| From: | ajf@php.net | Date: | Sun, 18 Jan 2015 19:20:12 +0000 |
| Subject: | com php-src: fix build: ext/spl/spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84161@lists.php.net to get a copy of this message | ||
Commit: 0be3626ec646fd59bbfb2ed2b3b436f265dd8f1e
Author: Andrea Faulds <ajf@ajf.me> Sun, 18 Jan 2015 19:20:12 +0000
Parents: f3052c5d2f86f9dac756b7c9519017b22b99ed3e
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0be3626ec646fd59bbfb2ed2b3b436f265dd8f1e
Log:
fix build
Changed paths:
M ext/spl/spl_directory.c
Diff:
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 070fa07..faebd7a 100644
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -2082,7 +2082,7 @@ static int spl_filesystem_file_call(spl_filesystem_object *intern,
zend_function
if (zend_get_parameters_array_ex(pass_num_args, params + (arg2 ? 2 : 1)) != SUCCESS) {
efree(params);
- WRONG_PARAM_COUNT;
+ WRONG_PARAM_COUNT_WITH_RETVAL(FAILURE);
}
ZVAL_UNDEF(&retval);