cvs: php4(PHP_4_2_0) /ext/odbc php_odbc.c

From: Date: Sat, 17 Aug 2002 21:00:44 +0000
Subject: cvs: php4(PHP_4_2_0) /ext/odbc php_odbc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13445@lists.php.net to get a copy of this message
zeev Sat Aug 17 17:00:44 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/ext/odbc php_odbc.c Log: Fix build Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.120.2.3 php4/ext/odbc/php_odbc.c:1.120.2.4 --- php4/ext/odbc/php_odbc.c:1.120.2.3 Sat Aug 17 12:20:10 2002 +++ php4/ext/odbc/php_odbc.c Sat Aug 17 17:00:43 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_odbc.c,v 1.120.2.3 2002/08/17 16:20:10 kalowsky Exp $ */ +/* $Id: php_odbc.c,v 1.120.2.4 2002/08/17 21:00:43 zeev Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -218,6 +218,8 @@ for(i = 1; i < nument; i++) { ptr = zend_list_find(i, &type); if (ptr && (type == le_result)) { + odbc_result *res; + res = (odbc_result *)ptr; if (res->conn_ptr == conn) { zend_list_delete(i); @@ -243,6 +245,8 @@ for(i = 1; i < nument; i++) { ptr = zend_list_find(i, &type); if (ptr && (type == le_result)) { + odbc_result *res; + res = (odbc_result *)ptr; if (res->conn_ptr == conn) { zend_list_delete(i);

« previous php.cvs (#13445) next »