summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Boeren <mboeren@php.net>2002-10-30 15:03:01 +0000
committerMarc Boeren <mboeren@php.net>2002-10-30 15:03:01 +0000
commit6d9447a3dc7cb30acbcff63984b325632b0aa2f4 (patch)
tree03f92bfc0f1428a8965a7f82625e373ba045deef
parenteab2c769d9b32050cd17fb05f4f4a914470a3194 (diff)
downloadphp-git-6d9447a3dc7cb30acbcff63984b325632b0aa2f4.tar.gz
Coding style.
# not my style :-)
-rw-r--r--ext/dbx/dbx_fbsql.c2
-rw-r--r--ext/dbx/dbx_mssql.c2
-rw-r--r--ext/dbx/dbx_mysql.c2
-rw-r--r--ext/dbx/dbx_oci8.c2
-rw-r--r--ext/dbx/dbx_odbc.c2
-rw-r--r--ext/dbx/dbx_pgsql.c2
-rw-r--r--ext/dbx/dbx_sybasect.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/ext/dbx/dbx_fbsql.c b/ext/dbx/dbx_fbsql.c
index f12ed0870d..39db7e89a8 100644
--- a/ext/dbx/dbx_fbsql.c
+++ b/ext/dbx/dbx_fbsql.c
@@ -262,7 +262,7 @@ int dbx_fbsql_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
diff --git a/ext/dbx/dbx_mssql.c b/ext/dbx/dbx_mssql.c
index 69ae42ba19..a4c5e76018 100644
--- a/ext/dbx/dbx_mssql.c
+++ b/ext/dbx/dbx_mssql.c
@@ -261,7 +261,7 @@ int dbx_mssql_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
diff --git a/ext/dbx/dbx_mysql.c b/ext/dbx/dbx_mysql.c
index b8149eae9d..7dcaac2a8a 100644
--- a/ext/dbx/dbx_mysql.c
+++ b/ext/dbx/dbx_mysql.c
@@ -269,7 +269,7 @@ int dbx_mysql_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
arguments[0]=string;
arguments[1]=dbx_handle;
dbx_call_any_function(INTERNAL_FUNCTION_PARAM_PASSTHRU, "mysql_real_escape_string", &returned_zval, number_of_arguments, arguments);
diff --git a/ext/dbx/dbx_oci8.c b/ext/dbx/dbx_oci8.c
index 1f0a937d94..19cd2c1ee7 100644
--- a/ext/dbx/dbx_oci8.c
+++ b/ext/dbx/dbx_oci8.c
@@ -280,7 +280,7 @@ int dbx_oci8_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION_
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
diff --git a/ext/dbx/dbx_odbc.c b/ext/dbx/dbx_odbc.c
index ef3d575209..c007d01658 100644
--- a/ext/dbx/dbx_odbc.c
+++ b/ext/dbx/dbx_odbc.c
@@ -284,7 +284,7 @@ int dbx_odbc_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION_
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
diff --git a/ext/dbx/dbx_pgsql.c b/ext/dbx/dbx_pgsql.c
index 7642ee6488..cfc7528548 100644
--- a/ext/dbx/dbx_pgsql.c
+++ b/ext/dbx/dbx_pgsql.c
@@ -288,7 +288,7 @@ int dbx_pgsql_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
diff --git a/ext/dbx/dbx_sybasect.c b/ext/dbx/dbx_sybasect.c
index b5da105651..ea3263f5a7 100644
--- a/ext/dbx/dbx_sybasect.c
+++ b/ext/dbx/dbx_sybasect.c
@@ -286,7 +286,7 @@ int dbx_sybasect_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCT
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */