diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-09-29 11:37:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-09-29 11:37:52 +0000 |
commit | e43217e6643b5ee9f20e37498240b819c88af687 (patch) | |
tree | 322e0c53ad1864ef33eb4d53d23618b3427915ae | |
parent | e19ee2d10278f1d6811d521e532a897f8edd6801 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); /************************************************************* |