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