1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

findprotocol: show unsupported protocol within quotes

... to aid when for example prefixed with a space or other weird
character.
This commit is contained in:
Daniel Stenberg 2014-07-23 18:16:38 +02:00
parent 8efc11a0c1
commit 5b22c47ca9

View File

@ -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;