From 0690bca499960c872cf5e832eed30480f95979dd Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Thu, 20 Jul 2000 17:15:25 +0000 Subject: [PATCH] fix 5705 . --- ext/sybase_ct/php_sybase_ct.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index 50da6d6bbd5..30d8ecf793c 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -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 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) 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 {