From 4737910b69eba83b5ba6dd2d43f88a7bd3461ccf Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 6 Jun 2011 21:28:16 +0000 Subject: - Added new parameter parsing option (p - for valid path (string without null byte in the middle)) # The tests will be fixed in the next commits --- ext/standard/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/md5.c') diff --git a/ext/standard/md5.c b/ext/standard/md5.c index 36e49ce44c..0c35577768 100644 --- a/ext/standard/md5.c +++ b/ext/standard/md5.c @@ -85,7 +85,7 @@ PHP_NAMED_FUNCTION(php_if_md5_file) int n; php_stream *stream; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &arg, &arg_len, &raw_output) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|b", &arg, &arg_len, &raw_output) == FAILURE) { return; } -- cgit v1.2.1