diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 12:50:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:32:13 -0400 |
commit | 9f50a92a7e858591f65bb9c6f0a2b164032bccc6 (patch) | |
tree | 508cb548e9dea421632018b24832b1dd56ff64d3 /src/lib | |
parent | 0abe89519b5f9d4710b06c6ec77b69879c76e18b (diff) | |
download | tor-9f50a92a7e858591f65bb9c6f0a2b164032bccc6.tar.gz tor-9f50a92a7e858591f65bb9c6f0a2b164032bccc6.zip |
Fix a macro in address.c so coccinelle can understand it
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/net/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/address.c b/src/lib/net/address.c index 0a2c84caf2..dd6a83974a 100644 --- a/src/lib/net/address.c +++ b/src/lib/net/address.c @@ -1392,7 +1392,7 @@ get_interface_addresses_win32(int severity, sa_family_t family) /* This is defined on Mac OS X */ #ifndef _SIZEOF_ADDR_IFREQ -#define _SIZEOF_ADDR_IFREQ sizeof +#define _SIZEOF_ADDR_IFREQ(x) sizeof(x) #endif /* Free ifc->ifc_buf safely. */ |