summaryrefslogtreecommitdiff
path: root/common/dns.c
diff options
context:
space:
mode:
authorShane Kerr <shane@isc.org>2007-08-22 13:41:37 +0000
committerShane Kerr <shane@isc.org>2007-08-22 13:41:37 +0000
commit06eb8bab557b390c5215d830cb947fba54f6816b (patch)
treed5a94c90f1962ba8907fd5834f61c15baa0be384 /common/dns.c
parentaf00522b3ef2405e9516f3ce2b53afbdcb30d8ca (diff)
downloadisc-dhcp-06eb8bab557b390c5215d830cb947fba54f6816b.tar.gz
Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings. See RT ticket #17013 for more.
Diffstat (limited to 'common/dns.c')
-rw-r--r--common/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dns.c b/common/dns.c
index adf3f55e..878caf5b 100644
--- a/common/dns.c
+++ b/common/dns.c
@@ -206,7 +206,7 @@ isc_result_t dns_zone_lookup (struct dns_zone **zone, const char *name)
if (name [len - 1] != '.') {
tname = dmalloc ((unsigned)len + 2, MDL);
if (!tname)
- return ISC_R_NOMEMORY;;
+ return ISC_R_NOMEMORY;
strcpy (tname, name);
tname [len] = '.';
tname [len + 1] = 0;