diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-04 20:42:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-04 20:42:02 +0000 |
commit | fa2f72ded752689fc0ece225b9d8279ddd13b88d (patch) | |
tree | ecfdc506b93bddd2184d1062daeb87d5fb9f8c8e /src/common | |
parent | 3f2b7078d224431b38528074a17c800f518264d4 (diff) | |
download | tor-fa2f72ded752689fc0ece225b9d8279ddd13b88d.tar.gz tor-fa2f72ded752689fc0ece225b9d8279ddd13b88d.zip |
An asterisk makes a difference sometimes. Fixes bug 809.
svn:r16758
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index 3c6eb6f5ac..c7483af09c 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -917,7 +917,7 @@ tor_addr_port_parse(const char *s, tor_addr_t *addr_out, uint16_t *port_out) portval = 0; } - if (*port_out) + if (port_out) *port_out = portval; tor_addr_copy(addr_out, &addr); |