From 1b5498e15178285f645a4111af0fc1c92cc3b951 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 7 Apr 2010 16:20:49 +0000 Subject: [PATCH] - client: allow zero resource shares from account managers svn path=/trunk/boinc/; revision=21134 --- checkin_notes | 6 ++++++ client/acct_mgr.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 5a520b101a..d6bed1c8d5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2589,3 +2589,9 @@ David 7 Apr 2010 lib/ procinfo_win.cpp procinfo_unix.cpp + +David 7 Apr 2010 + - client: allow zero resource shares from account managers + + client/ + acct_mgr.cpp diff --git a/client/acct_mgr.cpp b/client/acct_mgr.cpp index 516cc2a116..0cb158ebd0 100644 --- a/client/acct_mgr.cpp +++ b/client/acct_mgr.cpp @@ -235,7 +235,7 @@ int AM_ACCOUNT::parse(XML_PARSER& xp) { continue; } if (xp.parse_double(tag, "resource_share", dtemp)) { - if (dtemp > 0) { + if (dtemp >= 0) { resource_share.set(dtemp); } else { msg_printf(NULL, MSG_INFO,