cvs: php4 /ext/sybase_ct php_sybase_ct.c

From: Date: Thu, 20 Jul 2000 17:15:26 +0000
Subject: cvs: php4 /ext/sybase_ct php_sybase_ct.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-822@lists.php.net to get a copy of this message
sterling Thu Jul 20 10:15:26 2000 EDT Modified files: /php4/ext/sybase_ct php_sybase_ct.c Log: fix 5705 . Index: php4/ext/sybase_ct/php_sybase_ct.c diff -u php4/ext/sybase_ct/php_sybase_ct.c:1.24 php4/ext/sybase_ct/php_sybase_ct.c:1.25 --- php4/ext/sybase_ct/php_sybase_ct.c:1.24 Mon Jun 5 12:47:45 2000 +++ php4/ext/sybase_ct/php_sybase_ct.c Thu Jul 20 10:15:25 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_ct.c,v 1.24 2000/06/05 19:47:45 andi Exp $ */ +/* $Id: php_sybase_ct.c,v 1.25 2000/07/20 17:15:25 sterling Exp $ */ #include "php.h" @@ -28,8 +28,6 @@ #if HAVE_SYBASE_CT - - function_entry sybase_functions[] = { PHP_FE(sybase_connect, NULL) PHP_FE(sybase_pconnect, NULL) @@ -559,7 +557,7 @@ ptr = zend_list_find(link,&type); /* check if the link is still there */ if (ptr && (type==sybase_globals.le_link || type==sybase_globals.le_plink)) { return_value->value.lval = sybase_globals.default_link = link; - return_value->type = IS_LONG; + return_value->type = IS_RESOURCE; efree(hashed_details); return; } else {

« previous php.cvs (#822) next »