aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-08-31 23:02:19 +0200
committerNick Mathewson <nickm@torproject.org>2012-09-04 13:05:23 -0400
commit730dd9a6d0c84afb981818652c41cf14b881a2db (patch)
tree734d91622bb2d2c2af549f73e929194e0748a09b /src/common/address.h
parentd6ad00a01f703a79d9ca6d6edd958b4d05279b4e (diff)
downloadtor-730dd9a6d0c84afb981818652c41cf14b881a2db.tar
tor-730dd9a6d0c84afb981818652c41cf14b881a2db.tar.gz
Remove trailing semicolon from #define TOR_ADDR_NULL.
Can it ever help? I can only see harm. What am I missing?
Diffstat (limited to 'src/common/address.h')
-rw-r--r--src/common/address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.h b/src/common/address.h
index c6c126862..e0e1ec660 100644
--- a/src/common/address.h
+++ b/src/common/address.h
@@ -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);