From a0e0b2fc4ab711f740322fec9e732bc0c7a711f1 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 21 Apr 2006 21:42:27 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10010 --- checkin_notes | 7 +++++++ lib/gui_rpc_client_ops.C | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index bf31f9200b..86be579d50 100755 --- a/checkin_notes +++ b/checkin_notes @@ -4102,3 +4102,10 @@ Walt 20 Apr 2006 client/ http_curl.C,h + +Rom 21 Apr 2006 + - Bug Fix: Fix the account lookup and get project config rpcs which + I broke fixing the setlocale stuff. + + lib/ + gui_rpc_client_ops.C diff --git a/lib/gui_rpc_client_ops.C b/lib/gui_rpc_client_ops.C index c9d0ba99e1..cee1c073b9 100644 --- a/lib/gui_rpc_client_ops.C +++ b/lib/gui_rpc_client_ops.C @@ -1981,7 +1981,7 @@ int RPC_CLIENT::get_project_config_poll(PROJECT_CONFIG& pc) { setlocale(LC_ALL, "C"); retval = rpc.do_rpc("\n"); - if (retval) { + if (!retval) { retval = pc.parse(rpc.fin); } @@ -2017,7 +2017,7 @@ int RPC_CLIENT::lookup_account(ACCOUNT_IN& ai) { ); retval = rpc.do_rpc(buf); - if (retval) { + if (!retval) { retval = rpc.parse_reply(); }