From eb6bd543c7d072efdca509eb17f8f301c1467b53 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 22 Jan 1999 00:38:47 +0000 Subject: [PATCH] covert RETERR to do { ... } while (0) --- lib/dns/rdata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 3d7caf328c..92f1637c44 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rdata.c,v 1.9 1999/01/22 00:36:54 marka Exp $ */ + /* $Id: rdata.c,v 1.10 1999/01/22 00:38:47 marka Exp $ */ #include #include @@ -28,11 +28,11 @@ #include #include -#define RETERR(x) { \ +#define RETERR(x) do { \ dns_result_t __r = (x); \ if (__r != DNS_R_SUCCESS) \ return (__r); \ - } + } while (0) static dns_result_t txt_totext(isc_region_t *source, isc_buffer_t *target); static dns_result_t txt_fromtext(isc_textregion_t *source,