aboutsummaryrefslogtreecommitdiffstats
path: root/lib/url.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-02-18 23:57:12 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-02-18 23:57:12 +0000
commitb6423a0964c121edfb7a4318b1d909916d099d4d (patch)
tree76ed9927e176ad870905b10da0caa8f93539f450 /lib/url.c
parent6cfcfdf92b50719e8c08cc933879dae00a484215 (diff)
Little fix copied from Jelmer's integration branch, want to import the rest
after doing this devel release because there are quite a lot of changes in it.
Diffstat (limited to 'lib/url.c')
-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;
}