From e5bbe4da420e356cd653bed7f8e04cd90f4e66b2 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 9 Sep 1999 23:31:21 +0000 Subject: [PATCH] Send handle in response to messages - do not volunteer it. --- omapip/protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omapip/protocol.c b/omapip/protocol.c index bac5fe84b..38d77411d 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -771,6 +771,7 @@ isc_result_t omapi_protocol_send_update (omapi_object_t *po, } if (rid) { + omapi_handle_t handle; status = omapi_set_int_value (message, (omapi_object_t *)0, "rid", rid); if (status != ISC_R_SUCCESS) { @@ -778,8 +779,7 @@ isc_result_t omapi_protocol_send_update (omapi_object_t *po, (&message, "omapi_protocol_send_update"); return status; } - } else { - omapi_handle_t handle; + status = omapi_object_handle (&handle, object); if (status != ISC_R_SUCCESS) { omapi_object_dereference -- 2.47.3