summaryrefslogtreecommitdiff
path: root/ext/curl/multi.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-04-02 16:58:52 +0000
committerSterling Hughes <sterling@php.net>2003-04-02 16:58:52 +0000
commitbb7c2ddb23955e9757837601b1311398cf9ac9f7 (patch)
treef2a9fa440790315456af710be7f95f6d5afe395a /ext/curl/multi.c
parentbdd3b6042c538a58fbb629a832e19cabb4b507a7 (diff)
downloadphp-git-bb7c2ddb23955e9757837601b1311398cf9ac9f7.tar.gz
add the ability for curl_multi_info to introspect the handles.
# Zend commit doesn't break anything, so I'm committing it. If anyone # has problems, just speak up. :)
Diffstat (limited to 'ext/curl/multi.c')
-rw-r--r--ext/curl/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c
index 19aef8f0b6..24a4df94a1 100644
--- a/ext/curl/multi.c
+++ b/ext/curl/multi.c
@@ -221,7 +221,7 @@ PHP_FUNCTION(curl_multi_info_read)
array_init(return_value);
add_assoc_long(return_value, "msg", tmp_msg->msg);
add_assoc_long(return_value, "result", tmp_msg->data.result);
-/* add_assoc_resource(return_value, "handle", _find_handle(tmp_msg->easy_handle)); */
+ add_assoc_resource(return_value, "handle", zend_list_id_by_pointer(tmp_msg->easy_handle, le_curl TSRMLS_CC));
add_assoc_string(return_value, "whatever", (char *) tmp_msg->data.whatever, 1);
}
/* }}} */