summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-11-06 18:35:38 +0000
committerFelipe Pena <felipe@php.net>2010-11-06 18:35:38 +0000
commit1c556f2030d5093e332b04a62bbff52fe8ce22dd (patch)
treefa1b8c4c872931ed500bd6598ec6acc254ed49ee /ext/pcre/php_pcre.c
parent03cbbf4348b7bd95d0322d3371ce1f85efc1e1aa (diff)
downloadphp-git-1c556f2030d5093e332b04a62bbff52fe8ce22dd.tar.gz
- Coding standards
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 0978e8303a..b14e39e1b2 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;
}
}