diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 9cf2acdce..4feea00fe 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -2135,7 +2135,7 @@ bool Monitor::Analyse() { if ( (function != RECORD && function != MOCORD) || - (event_close_mode == CLOSE_ALARM || event_close_mode=CLOSE_IDLE) + (event_close_mode == CLOSE_ALARM || event_close_mode==CLOSE_IDLE) ) { shared_data->state = state = IDLE; Info("%s: %03d - Closing event %" PRIu64 ", alarm end%s",