mirror of https://github.com/BOINC/boinc.git
- client: allow zero resource shares from account managers
svn path=/trunk/boinc/; revision=21134
This commit is contained in:
parent
2d7fdacba8
commit
1b5498e151
|
@ -2589,3 +2589,9 @@ David 7 Apr 2010
|
||||||
lib/
|
lib/
|
||||||
procinfo_win.cpp
|
procinfo_win.cpp
|
||||||
procinfo_unix.cpp
|
procinfo_unix.cpp
|
||||||
|
|
||||||
|
David 7 Apr 2010
|
||||||
|
- client: allow zero resource shares from account managers
|
||||||
|
|
||||||
|
client/
|
||||||
|
acct_mgr.cpp
|
||||||
|
|
|
@ -235,7 +235,7 @@ int AM_ACCOUNT::parse(XML_PARSER& xp) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (xp.parse_double(tag, "resource_share", dtemp)) {
|
if (xp.parse_double(tag, "resource_share", dtemp)) {
|
||||||
if (dtemp > 0) {
|
if (dtemp >= 0) {
|
||||||
resource_share.set(dtemp);
|
resource_share.set(dtemp);
|
||||||
} else {
|
} else {
|
||||||
msg_printf(NULL, MSG_INFO,
|
msg_printf(NULL, MSG_INFO,
|
||||||
|
|
Loading…
Reference in New Issue