From f0fbf22972ecb0e3caf9bcc198f28dcc2d72e473 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 14 Dec 2007 19:38:42 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=14387 --- clientscr/screensaver_win.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/clientscr/screensaver_win.cpp b/clientscr/screensaver_win.cpp index f1652736e3..053ce45ec5 100644 --- a/clientscr/screensaver_win.cpp +++ b/clientscr/screensaver_win.cpp @@ -305,6 +305,7 @@ HRESULT CScreensaver::Create(HINSTANCE hInstance) { // Starts main execution of the screen saver. // INT CScreensaver::Run() { + HOST_INFO hostinfo; HRESULT hr; // Parse the command line and do the appropriate thing @@ -317,11 +318,9 @@ INT CScreensaver::Run() { } break; case sm_test: - RPC_CLIENT rpc; - HOST_INFO hostinfo; - rpc.init(NULL); - rpc.get_host_info(hostinfo); - rpc.close(); + rpc->init(NULL); + rpc->get_host_info(hostinfo); + rpc->close(); break; case sm_preview: case sm_full: