diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-03-11 00:27:16 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-03-11 00:27:16 +0000 |
commit | 6a1a3ecc36cd2cee27a2bc7506c366c222048347 (patch) | |
tree | ad09a4b58167f4677ff7b650632de9ad9f30e6d8 | |
parent | 21a7e57ae732dbacc663d2bca21425afe5e21d94 (diff) | |
download | php-git-6a1a3ecc36cd2cee27a2bc7506c366c222048347.tar.gz |
Readability++
-rw-r--r-- | ext/curl/multi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c index c5f48bdfdc..d22540be89 100644 --- a/ext/curl/multi.c +++ b/ext/curl/multi.c @@ -62,7 +62,7 @@ PHP_FUNCTION(curl_multi_init) mh = ecalloc(1, sizeof(php_curlm)); mh->multi = curl_multi_init(); - zend_llist_init(&(*mh).easyh, sizeof(zval *), (llist_dtor_func_t) ZVAL_PTR_DTOR, 0); + zend_llist_init(&mh->easyh, sizeof(zval *), (llist_dtor_func_t) ZVAL_PTR_DTOR, 0); ZEND_REGISTER_RESOURCE(return_value, mh, le_curl_multi_handle); } @@ -89,7 +89,7 @@ PHP_FUNCTION(curl_multi_add_handle) _php_curl_cleanup_handle(ch); ch->uses++; - zend_llist_add_element(&(*mh).easyh, &z_ch); + zend_llist_add_element(&mh->easyh, &z_ch); RETURN_LONG((long) curl_multi_add_handle(mh->multi, ch->cp)); } @@ -256,7 +256,7 @@ void _php_curl_multi_close(zend_rsrc_list_entry *rsrc TSRMLS_DC) php_curlm *mh = (php_curlm *) rsrc->ptr; if (mh) { curl_multi_cleanup(mh->multi); - zend_llist_clean(&(*mh).easyh); + zend_llist_clean(&mh->easyh); efree(mh); rsrc->ptr = NULL; } |