From 5b22c47ca9f326d359d0016bfe6fb3ffd57324e1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Jul 2014 18:16:38 +0200 Subject: [PATCH] findprotocol: show unsupported protocol within quotes ... to aid when for example prefixed with a space or other weird character. --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 11d5c8da1f5eda..57d24382237fcf 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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;