socks: fix generic output string to say SOCKS instead of SOCKS4

... since it was also logged for SOCKS5.

Closes #12797
This commit is contained in:
Daniel Stenberg 2024-01-25 22:15:58 +01:00
parent cc42b008d5
commit bc604619de
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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;
}