aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-13 14:54:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-13 14:54:36 +0000
commit86f93a53d6a18827668784b98d4fc6824bbaa417 (patch)
tree33c25972895175133083d444fc68d7922b090c30 /lib
parentf53347631eb4a5a075589e6fece43aced010a5bb (diff)
print the actual (externally known) easy handle and not the internal container
for it
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 69f8699a0..eeb30fba6 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1960,7 +1960,8 @@ void curl_multi_dump(CURLM *multi_handle)
if(easy->state != CURLM_STATE_COMPLETED) {
/* only display handles that are not completed */
fprintf(stderr, "handle %p, state %s, %d sockets\n",
- (void *)easy, statename[easy->state], easy->numsocks);
+ (void *)easy->easy_handle,
+ statename[easy->state], easy->numsocks);
for(i=0; i < easy->numsocks; i++) {
curl_socket_t s = easy->sockets[i];
struct Curl_sh_entry *entry =