]> granicus.if.org Git - curl/commitdiff
socks: fix error message
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Apr 2019 16:41:43 +0000 (18:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Apr 2019 21:30:53 +0000 (23:30 +0200)
lib/socks.c

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