]> granicus.if.org Git - php/commitdiff
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied...
authorDan Kalowsky <kalowsky@php.net>
Tue, 27 Mar 2001 15:46:27 +0000 (15:46 +0000)
committerDan Kalowsky <kalowsky@php.net>
Tue, 27 Mar 2001 15:46:27 +0000 (15:46 +0000)
ext/odbc/php_odbc.c

index 164eaa396183d484620ca9ddb020f0ccfeb4c61a..ac65d0ee30c9320ec2d0095ffadc05da49cb1ca4 100644 (file)
@@ -2164,7 +2164,7 @@ PHP_FUNCTION(odbc_close)
                WRONG_PARAM_COUNT;
        }
 
-       conn = (odbc_connection *) zend_fetch_resource(pv_conn, -1, "ODBC-Link", found_resource_type, 2, le_conn, le_pconn);
+       conn = (odbc_connection *) zend_fetch_resource(pv_conn, -1, "ODBC-Link", &found_resource_type, 2, le_conn, le_pconn);
        if (found_resource_type==le_pconn) {
                is_pconn = 1;
        }