Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
7bee5af
for
lib
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
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
lib/url.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
lib/url.c
rc227706
r7bee5af
100
100
else if( url->proto == PROTO_HTTPS )
101
101
url->port = 443;
102
else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS
4
)
102
else if( url->proto == PROTO_SOCKS4 || url->proto == PROTO_SOCKS
5
)
103
103
url->port = 1080;
104
104
}
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive