diff options
Diffstat (limited to 'src/common/address.c')
-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); |