summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2001-03-27 15:46:27 +0000
committerDan Kalowsky <kalowsky@php.net>2001-03-27 15:46:27 +0000
commit959f40a9572d46ce2003cb8f17f37730ed3abf2d (patch)
treea87fa6bbc6f9199f31d5390a630eb05461bd9ea4 /ext/odbc/php_odbc.c
parentafbcd5c4eb728b0e279d633f2ac313fd1f7b1c50 (diff)
downloadphp-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.c2
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;
}