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,