svn: /php/php-src/ branches/PHP_5_3/ext/pcre/php_pcre.c trunk/ext/pcre/php_pcre.c
| From: | Felipe Pena | Date: | Sat, 06 Nov 2010 18:35:38 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/pcre/php_pcre.c trunk/ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63772@lists.php.net to get a copy of this message | ||
felipe Sat, 06 Nov 2010 18:35:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305133
Log:
- Coding standards
Changed paths:
U php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c
U php/php-src/trunk/ext/pcre/php_pcre.c
Modified: php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c 2010-11-06 18:32:10 UTC (rev 305132)
+++ php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c 2010-11-06 18:35:38 UTC (rev 305133)
@@ -755,10 +755,9 @@
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;
}
}
Modified: php/php-src/trunk/ext/pcre/php_pcre.c
===================================================================
--- php/php-src/trunk/ext/pcre/php_pcre.c 2010-11-06 18:32:10 UTC (rev 305132)
+++ php/php-src/trunk/ext/pcre/php_pcre.c 2010-11-06 18:35:38 UTC (rev 305133)
@@ -755,10 +755,9 @@
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;
}
}