mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
minor brace cleanup
This commit is contained in:
@@ -462,25 +462,25 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
|
|||||||
case OMAPI_OP_REFRESH:
|
case OMAPI_OP_REFRESH:
|
||||||
refresh:
|
refresh:
|
||||||
result = handle_lookup(&object, message->handle);
|
result = handle_lookup(&object, message->handle);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS)
|
||||||
return (send_status(po, result, message->id,
|
return (send_status(po, result, message->id,
|
||||||
"no matching handle"));
|
"no matching handle"));
|
||||||
}
|
|
||||||
send:
|
send:
|
||||||
result = send_update(po, message->id, object);
|
result = send_update(po, message->id, object);
|
||||||
OBJECT_DEREF(&object);
|
OBJECT_DEREF(&object);
|
||||||
return (result);
|
return (result);
|
||||||
|
|
||||||
case OMAPI_OP_UPDATE:
|
case OMAPI_OP_UPDATE:
|
||||||
if (m->object != NULL) {
|
if (m->object != NULL)
|
||||||
OBJECT_REF(&object, m->object);
|
OBJECT_REF(&object, m->object);
|
||||||
} else {
|
|
||||||
|
else {
|
||||||
result = handle_lookup(&object, message->handle);
|
result = handle_lookup(&object, message->handle);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS)
|
||||||
return (send_status(po, result, message->id,
|
return (send_status(po, result, message->id,
|
||||||
"no matching handle"));
|
"no matching handle"));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
result = object_update(object, message->object,
|
result = object_update(object, message->object,
|
||||||
message->handle);
|
message->handle);
|
||||||
|
Reference in New Issue
Block a user