mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove trailing semicolon from #define TOR_ADDR_NULL.
Can it ever help? I can only see harm. What am I missing?
This commit is contained in:
committed by
Nick Mathewson
parent
d6ad00a01f
commit
730dd9a6d0
@@ -40,7 +40,7 @@ typedef struct tor_addr_port_t
|
||||
uint16_t port;
|
||||
} tor_addr_port_t;
|
||||
|
||||
#define TOR_ADDR_NULL {AF_UNSPEC, {0}};
|
||||
#define TOR_ADDR_NULL {AF_UNSPEC, {0}}
|
||||
|
||||
static INLINE const struct in6_addr *tor_addr_to_in6(const tor_addr_t *a);
|
||||
static INLINE uint32_t tor_addr_to_ipv4n(const tor_addr_t *a);
|
||||
|
||||
Reference in New Issue
Block a user