diff options
author | Shane Kerr <shane@isc.org> | 2007-08-22 13:41:37 +0000 |
---|---|---|
committer | Shane Kerr <shane@isc.org> | 2007-08-22 13:41:37 +0000 |
commit | 06eb8bab557b390c5215d830cb947fba54f6816b (patch) | |
tree | d5a94c90f1962ba8907fd5834f61c15baa0be384 /common/dns.c | |
parent | af00522b3ef2405e9516f3ce2b53afbdcb30d8ca (diff) | |
download | isc-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.c | 2 |
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; |