From f7fe55549d307f63b07f7da97b654b9116d5742e Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 18 Aug 2000 02:34:29 +0000 Subject: [PATCH] The error message 'has 0 SOA records' incorrectly failed to pluralize record. --- lib/dns/zone.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index af84331fca..b9e18e3c58 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.188 2000/08/17 16:15:02 gson Exp $ */ +/* $Id: zone.c,v 1.189 2000/08/18 02:34:29 bwelling Exp $ */ #include @@ -839,8 +839,7 @@ dns_zone_load(dns_zone_t *zone) { case dns_zone_stub: if (soacount != 1) { zone_log(zone, me, ISC_LOG_ERROR, - "has %d SOA record%s", soacount, - (soacount != 0) ? "s" : ""); + "has %d SOA records", soacount); result = DNS_R_BADZONE; goto cleanup; }