2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros

contained gratuitous semicolons. [RT #11707]
This commit is contained in:
Mark Andrews
2004-07-22 00:09:27 +00:00
parent d8c2b17871
commit 1a6204b6f2
2 changed files with 6 additions and 3 deletions

View File

@@ -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