]> granicus.if.org Git - php/commitdiff
- Coding standards
authorFelipe Pena <felipe@php.net>
Sat, 6 Nov 2010 18:35:38 +0000 (18:35 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 6 Nov 2010 18:35:38 +0000 (18:35 +0000)
ext/pcre/php_pcre.c

index 0978e8303a855c9a74d5dbe5eddc5bf895ba73ce..b14e39e1b22a4c75cf3ae168ce27405fec24235a 100644 (file)
@@ -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;
        }
 }