mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Bug fixes courtesy of Brian Murrell
This commit is contained in:
@@ -364,7 +364,7 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
|
||||
omapi_message_object_t *message, *m;
|
||||
omapi_object_t *object = (omapi_object_t *)0;
|
||||
omapi_value_t *tv = (omapi_value_t *)0;
|
||||
int create, update, exclusive;
|
||||
u_int32_t create, update, exclusive;
|
||||
isc_result_t status, waitstatus;
|
||||
omapi_object_type_t *type;
|
||||
|
||||
@@ -623,7 +623,7 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
|
||||
(omapi_object_t *)0,
|
||||
"result", &tv);
|
||||
if (status == ISC_R_SUCCESS) {
|
||||
status = omapi_get_int_value (&waitstatus,
|
||||
status = omapi_get_int_value ((u_int32_t *)&waitstatus,
|
||||
tv -> value);
|
||||
omapi_value_dereference (&tv,
|
||||
"omapi_message_process");
|
||||
|
Reference in New Issue
Block a user