summaryrefslogtreecommitdiff
path: root/common/memory.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2009-10-28 04:12:30 +0000
committerShawn Routhier <sar@isc.org>2009-10-28 04:12:30 +0000
commit98bf16077d22f28e288a18e184a9d1f97cb5f4f7 (patch)
treeb38c8282016ec1526d59abe313ff8317da4c21b6 /common/memory.c
parent571c38b093626507112330e197dbbd318ba43a57 (diff)
downloadisc-dhcp-98bf16077d22f28e288a18e184a9d1f97cb5f4f7.tar.gz
Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
Diffstat (limited to 'common/memory.c')
-rw-r--r--common/memory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/memory.c b/common/memory.c
index a10a1923..74c67095 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -48,14 +48,14 @@ isc_result_t delete_group (struct group_object *group, int writep)
group_hash_lookup (&d, group_name_hash, group -> name,
strlen (group -> name), MDL);
} else
- return ISC_R_INVALIDARG;
+ return DHCP_R_INVALIDARG;
if (!d)
- return ISC_R_INVALIDARG;
+ return DHCP_R_INVALIDARG;
/* Also not okay to delete a group that's not the one in
the hash table. */
if (d != group)
- return ISC_R_INVALIDARG;
+ return DHCP_R_INVALIDARG;
/* If it's dynamic, and we're deleting it, we can just blow away the
hash table entry. */