2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

quiet compiler warning about ambiguous 'else'

This commit is contained in:
Andreas Gustafsson
2000-01-31 18:21:33 +00:00
parent 87fe131e60
commit 6627af90c6

View File

@@ -747,12 +747,13 @@ message_signalhandler(omapi_object_t *handle, const char *name, va_list ap) {
message = (omapi_message_t *)handle;
if (strcmp(name, "status") == 0 &&
(message->object != NULL || message->notify_object != NULL))
(message->object != NULL || message->notify_object != NULL)) {
if (message->notify_object != NULL)
return (object_vsignal(message->notify_object, name,
ap));
else
return (object_vsignal(message->object, name, ap));
}
return (omapi_object_passsignal(handle, name, ap));
}