From 7b69b9209fccb9d60d9361d2e86066cc181e43d5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 9 Mar 2005 22:10:51 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5615 --- checkin_notes | 7 +++++++ client/gui_rpc_server.C | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index ce0f85192f..9a7e98c7ae 100755 --- a/checkin_notes +++ b/checkin_notes @@ -25734,3 +25734,10 @@ Rom 9 Mar 2005 clientgui/ MainFrame.cpp MainDocument.cpp + +David 9 Mar 2005 + - core client: allow show_graphics RPCs even for results + that are not currently scheduled + + client/ + gui_rpc_server.C diff --git a/client/gui_rpc_server.C b/client/gui_rpc_server.C index d0593e3dba..defdd9e03c 100644 --- a/client/gui_rpc_server.C +++ b/client/gui_rpc_server.C @@ -125,8 +125,8 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) { return; } atp = gstate.lookup_active_task_by_result(rp); - if (!atp || atp->scheduler_state != CPU_SCHED_SCHEDULED) { - fout.printf("Result not active\n"); + if (!atp) { + fout.printf("no such result\n"); return; } atp->request_graphics_mode(gm); @@ -134,7 +134,7 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) { for (unsigned int i=0; ischeduler_state != CPU_SCHED_SCHEDULED) continue; - atp->request_graphics_mode(gm); + atp->request_graphics_mode(gm); } } fout.printf("\n");