summaryrefslogtreecommitdiff
path: root/dhcpctl
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 /dhcpctl
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 'dhcpctl')
-rw-r--r--dhcpctl/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpctl/remote.c b/dhcpctl/remote.c
index 29af9c72..2ada64a1 100644
--- a/dhcpctl/remote.c
+++ b/dhcpctl/remote.c
@@ -118,8 +118,8 @@ dhcpctl_status dhcpctl_new_object (dhcpctl_handle *h,
isc_result_t status;
m = (dhcpctl_remote_object_t *)0;
- status = omapi_object_allocate ((omapi_object_t **)&m,
- dhcpctl_remote_type, 0, MDL);
+ status = omapi_object_allocate((omapi_object_t **)&m,
+ dhcpctl_remote_type, 0, MDL);
if (status != ISC_R_SUCCESS)
return status;