diff options
| author | jvoisin | 2018-09-10 13:44:00 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-10 13:44:00 +0200 |
| commit | f103c8203140550e6a1658c31c071038ddc816af (patch) | |
| tree | 89192da3a7a70f22282984e0cb8b279cff64fbb7 /src/sp_wrapper.c | |
| parent | a0e9a4791b7a2ba83b7fa84b190d8464b178ca26 (diff) | |
Bump the coverage
Diffstat (limited to 'src/sp_wrapper.c')
| -rw-r--r-- | src/sp_wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_wrapper.c b/src/sp_wrapper.c index 3090513..e336a87 100644 --- a/src/sp_wrapper.c +++ b/src/sp_wrapper.c | |||
| @@ -48,9 +48,11 @@ PHP_FUNCTION(sp_stream_wrapper_register) { | |||
| 48 | zif_handler orig_handler; | 48 | zif_handler orig_handler; |
| 49 | zend_string *protocol_name = NULL; | 49 | zend_string *protocol_name = NULL; |
| 50 | 50 | ||
| 51 | // LCOV_EXCL_BR_START | ||
| 51 | ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_QUIET, 2, EX_NUM_ARGS()); | 52 | ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_QUIET, 2, EX_NUM_ARGS()); |
| 52 | Z_PARAM_STR(protocol_name); | 53 | Z_PARAM_STR(protocol_name); |
| 53 | ZEND_PARSE_PARAMETERS_END_EX((void)0); | 54 | ZEND_PARSE_PARAMETERS_END_EX((void)0); |
| 55 | // LCOV_EXCL_BR_END | ||
| 54 | 56 | ||
| 55 | if (wrapper_is_whitelisted(protocol_name)) { | 57 | if (wrapper_is_whitelisted(protocol_name)) { |
| 56 | orig_handler = zend_hash_str_find_ptr( | 58 | orig_handler = zend_hash_str_find_ptr( |
