From: foobar Date: Sun, 27 May 2001 22:54:54 +0000 (+0000) Subject: remove ws, kill one compile warning. X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02400e339bd605917c57582fe67acd60e961cc99;p=php remove ws, kill one compile warning. --- 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)); }