Changeset 7bee5af for lib


Ignore:
Timestamp:
2006-12-24T21:47:18Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
ed5df81
Parents:
c227706
Message:

Add tests for set_url(). Fixed a bug where the default port wasn't
set when socks5 was used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/url.c

    rc227706 r7bee5af  
    100100                else if( url->proto == PROTO_HTTPS )
    101101                        url->port = 443;
    102                 else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS4 )
     102                else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS5 )
    103103                        url->port = 1080;
    104104        }
Note: See TracChangeset for help on using the changeset viewer.