diff options
author | Felipe Pena <felipe@php.net> | 2010-11-06 18:35:38 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-11-06 18:35:38 +0000 |
commit | 1db7472a73740466b5cd6752e9593d5e5d16a552 (patch) | |
tree | 98aa263fa60e63db77908c3a7fbbe02aa488c9ef /ext/pcre/php_pcre.c | |
parent | f4927c28bc3b1d7d50a81c9cd1655d003b4a8202 (diff) | |
download | php-git-1db7472a73740466b5cd6752e9593d5e5d16a552.tar.gz |
- Coding standards
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index ef7e051d86..01d28fb7d1 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -755,10 +755,9 @@ PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subjec efree(subpat_names); /* Did we encounter an error? */ - if(PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { + if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { RETVAL_LONG(matched); - } - else { + } else { RETVAL_FALSE; } } |