Skip to content

Commit

Permalink
findprotocol: show unsupported protocol within quotes
Browse files Browse the repository at this point in the history
... to aid when for example prefixed with a space or other weird
character.
  • Loading branch information
bagder committed Jul 23, 2014
1 parent 8efc11a commit 5b22c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/url.c
Expand Up @@ -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;
Expand Down

0 comments on commit 5b22c47

Please sign in to comment.