summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-05-27 22:54:54 +0000
committerfoobar <sniper@php.net>2001-05-27 22:54:54 +0000
commit02400e339bd605917c57582fe67acd60e961cc99 (patch)
tree4d26776031514dd495f2071138b5a315e8743624 /ext/pgsql/pgsql.c
parent67f2331d171ca0f5a145730f9b9f8de7c312e8ec (diff)
downloadphp-git-02400e339bd605917c57582fe67acd60e961cc99.tar.gz
remove ws, kill one compile warning.
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index ffc9803529..fac6baef9f 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -122,13 +122,13 @@ static void php_pgsql_set_default_link(int id)
{
PGLS_FETCH();
- zend_list_addref(id);
+ zend_list_addref(id);
- if (PGG(default_link) != -1) {
- zend_list_delete(PGG(default_link));
- }
+ if (PGG(default_link) != -1) {
+ zend_list_delete(PGG(default_link));
+ }
- PGG(default_link) = id;
+ PGG(default_link) = id;
}
@@ -162,7 +162,7 @@ _notice_handler(void *arg, const char *message)
PGLS_FETCH();
if (! PGG(ignore_notices)) {
- php_log_err(message);
+ php_log_err((char *) message);
if (PGG(last_notice) != NULL) {
efree(PGG(last_notice));
}