From: Ted Lemon Date: Thu, 9 Sep 1999 23:31:21 +0000 (+0000) Subject: Send handle in response to messages - do not volunteer it. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5bbe4da420e356cd653bed7f8e04cd90f4e66b2;p=thirdparty%2Fdhcp.git Send handle in response to messages - do not volunteer it. --- 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