summaryrefslogtreecommitdiff
path: root/omapip/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'omapip/message.c')
-rw-r--r--omapip/message.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/omapip/message.c b/omapip/message.c
index 37abbd25..528268a7 100644
--- a/omapip/message.c
+++ b/omapip/message.c
@@ -3,7 +3,7 @@
Subroutines for dealing with message objects. */
/*
- * Copyright (c) 2004-2017 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1999-2003 by Internet Software Consortium
*
* This Source Code Form is subject to the terms of the Mozilla Public
@@ -19,8 +19,8 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Internet Systems Consortium, Inc.
- * 950 Charter Street
- * Redwood City, CA 94063
+ * PO Box 360
+ * Newmarket, NH 03857 USA
* <info@isc.org>
* https://www.isc.org/
*
@@ -158,7 +158,7 @@ isc_result_t omapi_message_set_value (omapi_object_t *h,
if (status == ISC_R_SUCCESS)
return status;
}
-
+
return ISC_R_NOTFOUND;
}
@@ -232,7 +232,7 @@ isc_result_t omapi_message_signal_handler (omapi_object_t *h,
if (h -> type != omapi_type_message)
return DHCP_R_INVALIDARG;
m = (omapi_message_object_t *)h;
-
+
if (!strcmp (name, "status")) {
if (m -> notify_object &&
m -> notify_object -> type -> signal_handler)
@@ -271,7 +271,7 @@ isc_result_t omapi_message_register (omapi_object_t *mo)
if (mo -> type != omapi_type_message)
return DHCP_R_INVALIDARG;
m = (omapi_message_object_t *)mo;
-
+
/* Already registered? */
if (m -> prev || m -> next || omapi_registered_messages == m)
return DHCP_R_INVALIDARG;
@@ -300,7 +300,7 @@ isc_result_t omapi_message_unregister (omapi_object_t *mo)
if (mo -> type != omapi_type_message)
return DHCP_R_INVALIDARG;
m = (omapi_message_object_t *)mo;
-
+
/* Not registered? */
if (!m -> prev && omapi_registered_messages != m)
return DHCP_R_INVALIDARG;
@@ -550,7 +550,7 @@ omapi_message_process_internal (omapi_object_t *mo, omapi_object_t *po)
(po, message -> id_object,
ISC_R_NOTFOUND, message -> id,
"no object matches specification");
- }
+ }
/* If we found an object, we're supposed to be creating an
object, and we're not supposed to have found an object,
@@ -622,7 +622,7 @@ omapi_message_process_internal (omapi_object_t *mo, omapi_object_t *po)
"can't select authenticator");
}
}
-
+
/* Now send the new contents of the object back in
response. */
goto send;
@@ -636,7 +636,7 @@ omapi_message_process_internal (omapi_object_t *mo, omapi_object_t *po)
status, message -> id,
"no matching handle");
}
- send:
+ send:
status = omapi_protocol_send_update (po, message -> id_object,
message -> id, object);
omapi_object_dereference (&object, MDL);
@@ -666,7 +666,7 @@ omapi_message_process_internal (omapi_object_t *mo, omapi_object_t *po)
status, message -> id,
"cannot update authenticator");
}
-
+
status = omapi_protocol_add_auth (po, object,
message -> h);
} else {