From 1a6204b6f26677cad76ea5644dc0624aac49b451 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 22 Jul 2004 00:09:27 +0000 Subject: [PATCH] 1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros contained gratuitous semicolons. [RT #11707] --- CHANGES | 3 +++ lib/dns/include/dns/name.h | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 4e9e284d90..dda4a2e32a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros + contained gratuitous semicolons. [RT #11707] + 1688. [bug] LDFLAGS was not supported. 1687. [bug] Race condition in dispatch. [RT #10272] diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 287d33d03b..f2811337fd 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: name.h,v 1.107 2004/03/18 02:58:03 marka Exp $ */ +/* $Id: name.h,v 1.108 2004/07/22 00:09:27 marka Exp $ */ #ifndef DNS_NAME_H #define DNS_NAME_H 1 @@ -1214,7 +1214,7 @@ do { \ do { \ (r)->base = (n)->ndata; \ (r)->length = (n)->length; \ -} while (0); +} while (0) #define DNS_NAME_SPLIT(n, l, p, s) \ do { \ @@ -1226,7 +1226,7 @@ do { \ dns_name_getlabelsequence(_n, 0, _n->labels - _l, _p); \ if (_s != NULL) \ dns_name_getlabelsequence(_n, _n->labels - _l, _l, _s); \ -} while (0); +} while (0) #ifdef DNS_NAME_USEINLINE