commit 9f50a92a7e858591f65bb9c6f0a2b164032bccc6 Author: Nick Mathewson nickm@torproject.org Date: Wed Oct 9 12:50:08 2019 -0400
Fix a macro in address.c so coccinelle can understand it --- src/lib/net/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/net/address.c b/src/lib/net/address.c index 0a2c84caf..dd6a83974 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. */