Commit 5b22c47c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

findprotocol: show unsupported protocol within quotes

... to aid when for example prefixed with a space or other weird
character.
parent 8efc11a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;