aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-29 11:37:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-29 11:37:52 +0000
commite43217e6643b5ee9f20e37498240b819c88af687 (patch)
tree322e0c53ad1864ef33eb4d53d23618b3427915ae
parente19ee2d10278f1d6811d521e532a897f8edd6801 (diff)
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.
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
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);
/*************************************************************