aboutsummaryrefslogtreecommitdiffstats
path: root/src/headers/ip46-with
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers/ip46-with')
-rw-r--r--src/headers/ip46-with4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headers/ip46-with b/src/headers/ip46-with
index f6e0ed1..024ee54 100644
--- a/src/headers/ip46-with
+++ b/src/headers/ip46-with
@@ -7,8 +7,8 @@ typedef ip46full ip46, *ip46_ref ;
#define ip46_fmt(s, i) ip46full_fmt(s, i)
#define ip46_scan(s, i) ip46full_scan(s, i)
#define ip46_scanlist(out, max, s, num) ip46full_scanlist(out, max, s, num)
-#define ip46_from_ip4(i, ip4) (ip46full_from_ip4(i, ip4), 1)
-#define ip46_from_ip6(i, ip6) (ip46full_from_ip6(i, ip6), 1)
+#define ip46_from_ip4(i, ip4) ip46full_from_ip4(i, ip4)
+#define ip46_from_ip6(i, ip6) ip46full_from_ip6(i, ip6)
#define socket_connect46(s, i, port) ((i)->is6 ? socket_connect6(s, (i)->ip, port) : socket_connect4(s, (i)->ip, port))
#define socket_bind46(s, i, port) ((i)->is6 ? socket_bind6(s, (i)->ip, port) : socket_bind4(s, (i)->ip, port))