summaryrefslogtreecommitdiffstats
path: root/libc/netbsd/nameser/ns_ttl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/netbsd/nameser/ns_ttl.c')
-rw-r--r--libc/netbsd/nameser/ns_ttl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/nameser/ns_ttl.c b/libc/netbsd/nameser/ns_ttl.c
index 0878194..cc98331 100644
--- a/libc/netbsd/nameser/ns_ttl.c
+++ b/libc/netbsd/nameser/ns_ttl.c
@@ -47,7 +47,7 @@ static int fmt1(int t, char s, char **buf, size_t *buflen);
/* Macros. */
-#define T(x) if ((x) < 0) return (-1); else
+#define T(x) do { if ((x) < 0) return (-1); } while(0)
/* Public. */