From bc604619dea4243453eb4d7a992782bc5853269f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Jan 2024 22:15:58 +0100 Subject: [PATCH] socks: fix generic output string to say SOCKS instead of SOCKS4 ... since it was also logged for SOCKS5. Closes #12797 --- lib/socks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/socks.c b/lib/socks.c index 0031e0e42f..2cf8220106 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -249,7 +249,7 @@ static CURLproxycode socks_state_recv(struct Curl_cfilter *cf, failf(data, "connection to proxy closed"); return CURLPX_CLOSED; } - failf(data, "SOCKS4: Failed receiving %s: %s", description, + failf(data, "SOCKS: Failed receiving %s: %s", description, curl_easy_strerror(result)); return failcode; }