Rename a 'do_net_run' variable to 'do_run_loop'

For clarity, since the net_run() function was renamed to run_loop().
This commit is contained in:
Jon Siwek 2020-12-14 13:07:05 -08:00
parent 44903da8fd
commit faf6d4ec1a
3 changed files with 9 additions and 9 deletions

View file

@ -16,11 +16,11 @@ int main(int argc, char** argv)
return setup_result.code;
auto& options = setup_result.options;
auto do_net_run = zeek::iosource_mgr->Size() > 0 ||
zeek::run_state::detail::have_pending_timers ||
zeek::BifConst::exit_only_after_terminate;
auto do_run_loop = zeek::iosource_mgr->Size() > 0 ||
zeek::run_state::detail::have_pending_timers ||
zeek::BifConst::exit_only_after_terminate;
if ( do_net_run )
if ( do_run_loop )
{
if ( zeek::detail::profiling_logger )
zeek::detail::profiling_logger->Log();
@ -78,5 +78,5 @@ int main(int argc, char** argv)
}
}
return zeek::detail::cleanup(do_net_run);
return zeek::detail::cleanup(do_run_loop);
}