summaryrefslogtreecommitdiff
path: root/ext/hyperwave
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-31 05:44:11 +0000
committerZeev Suraski <zeev@php.net>2001-07-31 05:44:11 +0000
commitaa1772ca7263173ee47af0d83fea866f194757ba (patch)
treea8ea8932a07875a43423a8ffcd0100eab0c0f8a7 /ext/hyperwave
parent57507b4ea6bb2a38578444ca8359806f241fa8f5 (diff)
downloadphp-git-aa1772ca7263173ee47af0d83fea866f194757ba.tar.gz
More TSRMLS_FETCH annihilation
Diffstat (limited to 'ext/hyperwave')
-rw-r--r--ext/hyperwave/hw.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index 20df00487a..1f612b5281 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -148,10 +148,9 @@ ZEND_GET_MODULE(hw)
void print_msg(hg_msg *msg, char *str, int txt);
-void _close_hw_link(zend_rsrc_list_entry *rsrc)
+void _close_hw_link(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
hw_connection *conn = (hw_connection *)rsrc->ptr;
- TSRMLS_FETCH();
if(conn->hostname)
free(conn->hostname);
@@ -162,10 +161,9 @@ void _close_hw_link(zend_rsrc_list_entry *rsrc)
HwSG(num_links)--;
}
-void _close_hw_plink(zend_rsrc_list_entry *rsrc)
+void _close_hw_plink(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
hw_connection *conn = (hw_connection *)rsrc->ptr;
- TSRMLS_FETCH();
if(conn->hostname)
free(conn->hostname);
@@ -177,7 +175,7 @@ void _close_hw_plink(zend_rsrc_list_entry *rsrc)
HwSG(num_persistent)--;
}
-void _free_hw_document(zend_rsrc_list_entry *rsrc)
+void _free_hw_document(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
hw_document *doc = (hw_document *)rsrc->ptr;
if(doc->data)