diff -ru curl/lib/hostip.c curl-new/lib/hostip.c --- curl/lib/hostip.c Mon Apr 19 15:09:51 2004 +++ curl-new/lib/hostip.c Tue Apr 20 08:59:30 2004 @@ -1518,12 +1518,12 @@ if (!conn->async.dns) { /* a name was not resolved */ if (td->thread_status == (DWORD)-1 || conn->async.status == NO_DATA) { - failf(data, "Resolving host timed out: %s", conn->name); + failf(data, "Resolving host timed out: %s", conn->namebuffer); rc = CURLE_OPERATION_TIMEDOUT; } else if(conn->async.done) { failf(data, "Could not resolve host: %s; %s", - conn->name, Curl_strerror(conn,conn->async.status)); + conn->namebuffer, Curl_strerror(conn,conn->async.status)); rc = CURLE_COULDNT_RESOLVE_HOST; } else