]> granicus.if.org Git - curl/commitdiff
print the actual (externally known) easy handle and not the internal container
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Oct 2006 14:54:36 +0000 (14:54 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Oct 2006 14:54:36 +0000 (14:54 +0000)
for it

lib/multi.c

index 69f8699a04cc97238cb024ab678addfc840151bd..eeb30fba6195a6db107bff459e050f970ce8acd7 100644 (file)
@@ -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 =