cvs: php4 /ext/hyperwave hw.c

From: Date: Wed, 05 Jul 2000 19:47:42 +0000
Subject: cvs: php4 /ext/hyperwave hw.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-634@lists.php.net to get a copy of this message
steinm Wed Jul 5 12:47:42 2000 EDT Modified files: /php4/ext/hyperwave hw.c Log: - Link is now of type RESOURCE and not LONG Index: php4/ext/hyperwave/hw.c diff -u php4/ext/hyperwave/hw.c:1.61 php4/ext/hyperwave/hw.c:1.62 --- php4/ext/hyperwave/hw.c:1.61 Fri Jun 30 02:46:38 2000 +++ php4/ext/hyperwave/hw.c Wed Jul 5 12:47:42 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: hw.c,v 1.61 2000/06/30 09:46:38 steinm Exp $ */ +/* $Id: hw.c,v 1.62 2000/07/05 19:47:42 steinm Exp $ */ #include <stdlib.h> #include <errno.h> @@ -776,7 +776,7 @@ } 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 @@ 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;

« previous php.cvs (#634) next »