summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-11-06 18:35:38 (GMT)
committerFelipe Pena <felipe@php.net>2010-11-06 18:35:38 (GMT)
commit1c556f2030d5093e332b04a62bbff52fe8ce22dd (patch)
treefa1b8c4c872931ed500bd6598ec6acc254ed49ee /ext
parent03cbbf4348b7bd95d0322d3371ce1f85efc1e1aa (diff)
downloadphp-1c556f2030d5093e332b04a62bbff52fe8ce22dd.tar.gz
- Coding standards
Diffstat (limited to 'ext')
-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 0978e83..b14e39e 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;
}
}