]> granicus.if.org Git - php/commitdiff
ws fix
authorSterling Hughes <sterling@php.net>
Mon, 28 May 2001 03:30:11 +0000 (03:30 +0000)
committerSterling Hughes <sterling@php.net>
Mon, 28 May 2001 03:30:11 +0000 (03:30 +0000)
ext/pgsql/pgsql.c

index 3e193254c093d2b1ef8d5e78157c737e6c4d1719..3c68c0fcdd6b550e99d1707eb5a1deb91f716db8 100644 (file)
@@ -175,10 +175,11 @@ static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
        PGconn *link;
        PGLS_FETCH();
 
-       if (rsrc->type != le_plink) return 0;
-       
-       link = (PGconn *)rsrc->ptr;
+       if (rsrc->type != le_plink) 
+               return 0;
 
+       link = (PGconn *) rsrc->ptr;
+       
        PGG(ignore_notices) = 1;
        PQexec(link,"BEGIN;ROLLBACK;");
        PGG(ignore_notices) = 0;