]> granicus.if.org Git - php/commitdiff
fix 5705
authorSterling Hughes <sterling@php.net>
Thu, 20 Jul 2000 17:15:25 +0000 (17:15 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 20 Jul 2000 17:15:25 +0000 (17:15 +0000)
.

ext/sybase_ct/php_sybase_ct.c

index 50da6d6bbd5d5ad4de248c766abe97e0afb97e48..30d8ecf793c0930bebbeb4d7d7e890d793a43c07 100644 (file)
@@ -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 {