1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 12:35:04 -05:00

socks: fix error message

This commit is contained in:
Daniel Stenberg 2019-04-08 18:41:43 +02:00
parent ebb2ebe18b
commit 8ebc42be04
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -290,7 +290,7 @@ CURLcode Curl_SOCKS4(const char *proxy_user,
/* wrong version ? */ /* wrong version ? */
if(socksreq[0] != 0) { if(socksreq[0] != 0) {
failf(data, failf(data,
"SOCKS4 reply has wrong version, version should be 4."); "SOCKS4 reply has wrong version, version should be 0.");
return CURLE_COULDNT_CONNECT; return CURLE_COULDNT_CONNECT;
} }