Quick Updates

svn path=/trunk/boinc/; revision=14387
This commit is contained in:
Rom Walton 2007-12-14 19:38:42 +00:00
parent cc9439c1cb
commit f0fbf22972
1 changed files with 4 additions and 5 deletions

View File

@ -305,6 +305,7 @@ HRESULT CScreensaver::Create(HINSTANCE hInstance) {
// Starts main execution of the screen saver. // Starts main execution of the screen saver.
// //
INT CScreensaver::Run() { INT CScreensaver::Run() {
HOST_INFO hostinfo;
HRESULT hr; HRESULT hr;
// Parse the command line and do the appropriate thing // Parse the command line and do the appropriate thing
@ -317,11 +318,9 @@ INT CScreensaver::Run() {
} }
break; break;
case sm_test: case sm_test:
RPC_CLIENT rpc; rpc->init(NULL);
HOST_INFO hostinfo; rpc->get_host_info(hostinfo);
rpc.init(NULL); rpc->close();
rpc.get_host_info(hostinfo);
rpc.close();
break; break;
case sm_preview: case sm_preview:
case sm_full: case sm_full: