]> granicus.if.org Git - php/commitdiff
remove ws, kill one compile warning.
authorfoobar <sniper@php.net>
Sun, 27 May 2001 22:54:54 +0000 (22:54 +0000)
committerfoobar <sniper@php.net>
Sun, 27 May 2001 22:54:54 +0000 (22:54 +0000)
ext/pgsql/pgsql.c

index ffc9803529b90934597ce3281fc60064618f3653..fac6baef9fc42cfcc327351ab8bf5d3334f83030 100644 (file)
@@ -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));
                }