cvs: php4 /ext/msql php_msql.c

From: Date: Sat, 22 Jul 2000 17:47:29 +0000
Subject: cvs: php4 /ext/msql php_msql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-863@lists.php.net to get a copy of this message
sterling Sat Jul 22 10:47:29 2000 EDT Modified files: /php4/ext/msql php_msql.c Log: fix bug 5322. Index: php4/ext/msql/php_msql.c diff -u php4/ext/msql/php_msql.c:1.20 php4/ext/msql/php_msql.c:1.21 --- php4/ext/msql/php_msql.c:1.20 Fri Jun 16 11:23:57 2000 +++ php4/ext/msql/php_msql.c Sat Jul 22 10:47:29 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_msql.c,v 1.20 2000/06/16 18:23:57 hholzgra Exp $ */ +/* $Id: php_msql.c,v 1.21 2000/07/22 17:47:29 sterling Exp $ */ #include "php.h" #include "php_msql.h" @@ -315,7 +315,7 @@ ptr = zend_list_find(link,&type); /* check if the link is still there */ if (ptr && (type==msql_globals.le_link || type==msql_globals.le_plink)) { return_value->value.lval = msql_globals.default_link = link; - return_value->type = IS_LONG; + return_value->type = IS_RESOURCE; efree(hashed_details); return; } else {

« previous php.cvs (#863) next »