From: Ted Lemon Date: Thu, 16 Sep 1999 05:10:45 +0000 (+0000) Subject: Change delete to remove for consistency with omapi changes. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=696337081a9fb10ca1ab105e54ef09e8441d12fd;p=thirdparty%2Fdhcp.git Change delete to remove for consistency with omapi changes. --- diff --git a/dhcpctl/test.c b/dhcpctl/test.c index ebc3779a3..cacdb8df8 100644 --- a/dhcpctl/test.c +++ b/dhcpctl/test.c @@ -133,21 +133,21 @@ int main (argc, argv) printf ("host name = %*.*s\n", result -> len, result -> len, result -> value); - status = dhcpctl_object_delete (connection, host_handle); + status = dhcpctl_object_remove (connection, host_handle); if (status != ISC_R_SUCCESS) { - fprintf (stderr, "dhcpctl_object_delete: %s\n", + fprintf (stderr, "dhcpctl_object_remove: %s\n", isc_result_totext (status)); exit (1); } status = dhcpctl_wait_for_completion (host_handle, &waitstatus); if (status != ISC_R_SUCCESS) { - fprintf (stderr, "delete: dhcpctl_wait_for_completion: %s\n", + fprintf (stderr, "remove: dhcpctl_wait_for_completion: %s\n", isc_result_totext (status)); exit (1); } if (waitstatus != ISC_R_SUCCESS) { - fprintf (stderr, "delete: dhcpctl_wait_for_completion: %s\n", + fprintf (stderr, "remove: dhcpctl_wait_for_completion: %s\n", isc_result_totext (waitstatus)); exit (1); }