diff options
| author | Zeev Suraski <zeev@php.net> | 2001-08-11 16:39:07 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-08-11 16:39:07 +0000 |
| commit | f6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa (patch) | |
| tree | 4013e29cc962a2f0363f61d764da46d8302d828e /ext/dbx/dbx_pgsql.c | |
| parent | bafa98109cb7ac4c95a4d47e010139f4cd100bde (diff) | |
| download | php-git-f6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa.tar.gz | |
Whitespace
Diffstat (limited to 'ext/dbx/dbx_pgsql.c')
| -rw-r--r-- | ext/dbx/dbx_pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbx/dbx_pgsql.c b/ext/dbx/dbx_pgsql.c index d3c354656c..f498f5960e 100644 --- a/ext/dbx/dbx_pgsql.c +++ b/ext/dbx/dbx_pgsql.c @@ -44,7 +44,7 @@ int dbx_pgsql_connect(zval ** rv, zval ** host, zval ** db, zval ** username, zv len += Z_STRLEN_PP(username)+Z_STRLEN_PP(password)+35; connstring = (char *)emalloc(len+1); sprintf(connstring, "host=%s port=%s dbname=%s user=%s password=%s", - Z_STRVAL_PP(host),port, Z_STRVAL_PP(db), + Z_STRVAL_PP(host), port, Z_STRVAL_PP(db), Z_STRVAL_PP(username), Z_STRVAL_PP(password)); ZVAL_STRING(conn_zval, connstring, 1); args[0] = &conn_zval; @@ -89,7 +89,7 @@ int dbx_pgsql_pconnect(zval ** rv, zval ** host, zval ** db, zval ** username, z len += Z_STRLEN_PP(username)+Z_STRLEN_PP(password)+35; connstring = (char *)emalloc(len+1); sprintf(connstring, "host=%s port=%s dbname=%s user=%s password=%s", - Z_STRVAL_PP(host),port, Z_STRVAL_PP(db), + Z_STRVAL_PP(host), port, Z_STRVAL_PP(db), Z_STRVAL_PP(username), Z_STRVAL_PP(password)); ZVAL_STRING(conn_zval, connstring, 1); args[0] = &conn_zval; |
