summaryrefslogtreecommitdiff
path: root/ext/hyperwave/hw.c
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2000-07-05 19:47:43 +0000
committerUwe Steinmann <steinm@php.net>2000-07-05 19:47:43 +0000
commitf6347145ffd29d3bd5bb6af29674afc7c34398c3 (patch)
tree096afb781e163aeb72348ffab90fd443c51ec082 /ext/hyperwave/hw.c
parent9f4c3eac9dd2f035ff235bdf0d659884a2937b50 (diff)
downloadphp-git-f6347145ffd29d3bd5bb6af29674afc7c34398c3.tar.gz
- Link is now of type RESOURCE and not LONG
Diffstat (limited to 'ext/hyperwave/hw.c')
-rw-r--r--ext/hyperwave/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index d425542511..9544d8d26e 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -776,7 +776,7 @@ static void php_hw_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
}
return_value->value.lval = zend_list_insert(ptr,HwSG(le_psocketp));
- return_value->type = IS_LONG;
+ return_value->type = IS_RESOURCE;
} else {
list_entry *index_ptr,new_index_ptr;
@@ -848,7 +848,7 @@ static void php_hw_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
ptr->username = strdup("anonymous");
return_value->value.lval = zend_list_insert(ptr,HwSG(le_socketp));
- return_value->type = IS_LONG;
+ return_value->type = IS_RESOURCE;
new_index_ptr.ptr = (void *) return_value->value.lval;
new_index_ptr.type = le_index_ptr;