mirror of https://github.com/BOINC/boinc.git
parent
cc9439c1cb
commit
f0fbf22972
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue