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:
parent
8efc11a0c1
commit
5b22c47ca9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user