aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index e4deac78..c6fdc4c8 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -99,7 +99,7 @@ int url_set( url_t *url, char *set_url )
url->port = 80;
else if( url->proto == PROTO_HTTPS )
url->port = 443;
- else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS4 )
+ else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS5 )
url->port = 1080;
}