Merge pull request #3480 from AenBleidd/fix_sim_build

Fix simulator build
This commit is contained in:
David Anderson 2020-02-28 11:58:36 -08:00 committed by GitHub
commit 729995f960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,7 @@ int ACCT_MGR_OP::do_rpc(ACCT_MGR_INFO& _ami, bool _via_gui) {
gstate.time_stats.write(mf, true);
gstate.net_stats.write(mf);
#ifndef SIM
// send task descriptions if requested by AM
//
if (ami.send_tasks_all || ami.send_tasks_active) {
@ -259,6 +260,7 @@ int ACCT_MGR_OP::do_rpc(ACCT_MGR_INFO& _ami, bool _via_gui) {
gstate.write_tasks_gui(mf, !ami.send_tasks_all);
mf.printf("</results>\n");
}
#endif
fprintf(f, "</acct_mgr_request>\n");
fclose(f);