Commit 3c4358e7 authored by Ted Lemon's avatar Ted Lemon

- Fix the open lookup so that a result code of NOKEYS does not cause

  creates to fail.
parent 3989a9e8
...@@ -485,7 +485,9 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po) ...@@ -485,7 +485,9 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
status = (*(type -> lookup)) (&object, (omapi_object_t *)0, status = (*(type -> lookup)) (&object, (omapi_object_t *)0,
message -> object); message -> object);
if (status != ISC_R_SUCCESS && status != ISC_R_NOTFOUND) { if (status != ISC_R_SUCCESS &&
status != ISC_R_NOTFOUND &&
status != ISC_R_NOKEYS) {
return omapi_protocol_send_status return omapi_protocol_send_status
(po, (omapi_object_t *)0, (po, (omapi_object_t *)0,
status, message -> id, status, message -> id,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment