summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Heijl <danny@php.net>1999-09-03 19:50:14 +0000
committerDanny Heijl <danny@php.net>1999-09-03 19:50:14 +0000
commita9fd483affb0c3f424f5c028593d2a50a892edee (patch)
treec3487edcae80d45b166563cf007b4eeb73a1e64c
parent90f67c6245c1357fad6293bfb6efbd9804c531de (diff)
downloadphp-git-a9fd483affb0c3f424f5c028593d2a50a892edee.tar.gz
- backed out IS_RESOURCE stuff in favour of old php3-style IS_LONG
for now. This makes the Informix driver work again.
-rw-r--r--ext/informix/ifx.ec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/informix/ifx.ec b/ext/informix/ifx.ec
index 3114f80b23..f347d6fad3 100644
--- a/ext/informix/ifx.ec
+++ b/ext/informix/ifx.ec
@@ -675,7 +675,7 @@ static void php3_ifx_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
if (ptr && (type==IFXG(le_link) || type==IFXG(le_plink))) {
zend_list_addref(link);
return_value->value.lval = IFXG(default_link) = link;
- return_value->type = IS_RESOURCE;
+ return_value->type = IS_LONG;
efree(hashed_details);
return;
} else {
@@ -709,7 +709,7 @@ static void php3_ifx_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
/* add it to the list */
return_value->value.lval = php3_list_insert(ifx,IFXG(le_link));
- return_value->type = IS_RESOURCE;
+ return_value->type = IS_LONG;
/* add it to the hash */
new_index_ptr.ptr = (void *) return_value->value.lval;