mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 21:16:22 +02:00
An asterisk makes a difference sometimes. Fixes bug 809.
svn:r16758
This commit is contained in:
parent
3f2b7078d2
commit
fa2f72ded7
@ -2,6 +2,9 @@ Changes in version 0.2.1.6-alpha - 2008-09-xx
|
|||||||
o Minor bugfixes:
|
o Minor bugfixes:
|
||||||
- Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
|
- Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
|
||||||
Reported by Tas.
|
Reported by Tas.
|
||||||
|
- When parsing ports in tor_addr_port_parse(), yield the port if
|
||||||
|
the port variable is provided, not just if it's nonzero. Fixes
|
||||||
|
bug 809. Bugfix on 0.2.1.5-alpha.
|
||||||
|
|
||||||
o Minor features:
|
o Minor features:
|
||||||
- Use a lockfile to make sure that two Tor processes are not
|
- Use a lockfile to make sure that two Tor processes are not
|
||||||
|
@ -917,7 +917,7 @@ tor_addr_port_parse(const char *s, tor_addr_t *addr_out, uint16_t *port_out)
|
|||||||
portval = 0;
|
portval = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*port_out)
|
if (port_out)
|
||||||
*port_out = portval;
|
*port_out = portval;
|
||||||
tor_addr_copy(addr_out, &addr);
|
tor_addr_copy(addr_out, &addr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user