diff options
author | Sterling Hughes <sterling@php.net> | 2003-04-02 16:58:52 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-04-02 16:58:52 +0000 |
commit | bb7c2ddb23955e9757837601b1311398cf9ac9f7 (patch) | |
tree | f2a9fa440790315456af710be7f95f6d5afe395a /ext/curl/multi.c | |
parent | bdd3b6042c538a58fbb629a832e19cabb4b507a7 (diff) | |
download | php-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.c | 2 |
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); } /* }}} */ |