summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2005-09-07 15:11:00 +0000
committerDavid Hankins <dhankins@isc.org>2005-09-07 15:11:00 +0000
commit53718730031f3dca09f4ef60aba16a135511d3e3 (patch)
treeb1d6a56c6147d8bf9797444b010cfeb4e236da13
parent1ead0b7202f0987e86faabe394ad244c7b8ffac3 (diff)
downloadisc-dhcp-53718730031f3dca09f4ef60aba16a135511d3e3.tar.gz
Merging rt15338 after review. 'logstr' variable introduced in ddns error
clarification work after 3.0.3 causes a warning.
-rw-r--r--common/dns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/dns.c b/common/dns.c
index 9c33c334..3a60e2de 100644
--- a/common/dns.c
+++ b/common/dns.c
@@ -33,7 +33,7 @@
#ifndef lint
static char copyright[] =
-"$Id: dns.c,v 1.35.2.18 2005/08/26 22:45:45 dhankins Exp $ Copyright (c) 2004-2005 Internet Systems Consortium. All rights reserved.\n";
+"$Id: dns.c,v 1.35.2.19 2005/09/07 15:11:00 dhankins Exp $ Copyright (c) 2004-2005 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -522,7 +522,8 @@ isc_result_t ddns_update_a (struct data_string *ddns_fwd_name,
ns_updque updqueue;
ns_updrec *updrec;
isc_result_t result;
- char ddns_address [16], *logstr;
+ char ddns_address [16];
+ const char *logstr;
if (ddns_addr.len != 4)
return ISC_R_INVALIDARG;