diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 18:16:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 18:17:16 +0200 |
commit | 5b22c47ca9f326d359d0016bfe6fb3ffd57324e1 (patch) | |
tree | 1beb28ab8c4ad43cca3bc666cfe592fc4422bcb5 | |
parent | 8efc11a0c1be6a460d3abc4bb8a02f4bc8e24ee3 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |