The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.

This commit is contained in:
Dan Kalowsky 2001-03-27 15:46:27 +00:00
parent afbcd5c4eb
commit 959f40a957

View 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;
}