From e43217e6643b5ee9f20e37498240b819c88af687 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Sep 2005 11:37:52 +0000 Subject: [PATCH] Starting now, the verbose text that goes like "About to connect() to" will now contain the word "proxy" is the hostname is in fact a proxy. This will help users detect situations when they mistakenly use a proxy. --- lib/url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index f84ee3734..3f11b3e75 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2001,7 +2001,8 @@ static CURLcode ConnectPlease(struct connectdata *conn, struct SessionHandle *data = conn->data; char *hostname = data->change.proxy?conn->proxy.name:conn->host.name; - infof(data, "About to connect() to %s port %d\n", + infof(data, "About to connect() to %s%s port %d\n", + data->change.proxy?"proxy ":"", hostname, conn->port); /*************************************************************