cvs: php4 /ext/odbc php_odbc.c

From: Date: Tue, 27 Mar 2001 15:46:27 +0000
Subject: cvs: php4 /ext/odbc php_odbc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4862@lists.php.net to get a copy of this message
kalowsky Tue Mar 27 07:46:27 2001 EDT Modified files: /php4/ext/odbc php_odbc.c Log: 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. Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.74 php4/ext/odbc/php_odbc.c:1.75 --- php4/ext/odbc/php_odbc.c:1.74 Tue Mar 27 06:17:52 2001 +++ php4/ext/odbc/php_odbc.c Tue Mar 27 07:46:27 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_odbc.c,v 1.74 2001/03/27 14:17:52 kalowsky Exp $ */ +/* $Id: php_odbc.c,v 1.75 2001/03/27 15:46:27 kalowsky Exp $ */ #include "php.h" #include "php_globals.h" @@ -2164,7 +2164,7 @@ 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; }

« previous php.cvs (#4862) next »