diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-03-27 15:46:27 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-03-27 15:46:27 +0000 |
commit | 959f40a9572d46ce2003cb8f17f37730ed3abf2d (patch) | |
tree | a87fa6bbc6f9199f31d5390a630eb05461bd9ea4 /ext/odbc/php_odbc.c | |
parent | afbcd5c4eb728b0e279d633f2ac313fd1f7b1c50 (diff) | |
download | php-git-959f40a9572d46ce2003cb8f17f37730ed3abf2d.tar.gz |
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.
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 164eaa3961..ac65d0ee30 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -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; } |