From 02400e339bd605917c57582fe67acd60e961cc99 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 27 May 2001 22:54:54 +0000 Subject: [PATCH] remove ws, kill one compile warning. --- ext/pgsql/pgsql.c | 12 ++++++------ 1 file 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)); } -- 2.40.0