summaryrefslogtreecommitdiff
path: root/ext/muscat/muscat.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
commit7b1c4006312aca67308d72068364e3666219fd41 (patch)
tree3c88ac98c7bd5977fbf45e2609affbae8185af5f /ext/muscat/muscat.c
parent8ce8324e5907d9a08789b9a4bea3f1622057932a (diff)
downloadphp-git-7b1c4006312aca67308d72068364e3666219fd41.tar.gz
More TSRMLS_FETCH annihilation (Zend compatibility patch)
Diffstat (limited to 'ext/muscat/muscat.c')
-rw-r--r--ext/muscat/muscat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/muscat/muscat.c b/ext/muscat/muscat.c
index f7af8bff7a..092ee0014d 100644
--- a/ext/muscat/muscat.c
+++ b/ext/muscat/muscat.c
@@ -229,7 +229,7 @@ PHP_FUNCTION(muscat_setup_net)
zval_copy_ctor(handle->handles.muscatnet_handle.socketr);
// but for our convenience extract the FD
- what=zend_fetch_resource(socket_arg,-1,"Socket-Handle",NULL,1,php_file_le_socket());
+ what=zend_fetch_resource(socket_arg TSRMLS_CC,-1,"Socket-Handle",NULL,1,php_file_le_socket());
ZEND_VERIFY_RESOURCE(what);
handle->handles.muscatnet_handle.socketd=*(int*)what;
php_set_sock_blocking(handle->handles.muscatnet_handle.socketd,1);
@@ -254,7 +254,7 @@ PHP_FUNCTION(muscat_setup_net_)
*handle->handles.muscatnet_handle.socketr=*return_value;
zval_copy_ctor(handle->handles.muscatnet_handle.socketr);
// but for our convenience extract the FD
- what=zend_fetch_resource(&return_value,-1,"File-Handle",NULL,1,php_file_le_socket);
+ what=zend_fetch_resource(&return_value TSRMLS_CC,-1,"File-Handle",NULL,1,php_file_le_socket);
ZEND_VERIFY_RESOURCE(what);
handle->handles.muscatnet_handle.socketd=*(int*)what;
_discard(handle);