aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-07-23 18:16:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-23 18:17:16 +0200
commit5b22c47ca9f326d359d0016bfe6fb3ffd57324e1 (patch)
tree1beb28ab8c4ad43cca3bc666cfe592fc4422bcb5
parent8efc11a0c1be6a460d3abc4bb8a02f4bc8e24ee3 (diff)
findprotocol: show unsupported protocol within quotes
... to aid when for example prefixed with a space or other weird character.
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 11d5c8da1..57d243822 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3717,7 +3717,7 @@ static CURLcode findprotocol(struct SessionHandle *data,
/* The protocol was not found in the table, but we don't have to assign it
to anything since it is already assigned to a dummy-struct in the
create_conn() function when the connectdata struct is allocated. */
- failf(data, "Protocol %s not supported or disabled in " LIBCURL_NAME,
+ failf(data, "Protocol \"%s\" not supported or disabled in " LIBCURL_NAME,
protostr);
return CURLE_UNSUPPORTED_PROTOCOL;