mirror of https://github.com/BOINC/boinc.git
- validator: need parens in boolean expression
svn path=/trunk/boinc/; revision=21814
This commit is contained in:
parent
9e64a36958
commit
5ef4dead7d
|
@ -4636,3 +4636,9 @@ David 25 Jun 2010
|
|||
|
||||
clientgui/
|
||||
ViewProjects.cpp
|
||||
|
||||
David 25 Jun 2010
|
||||
- validator: need parens in boolean expression
|
||||
|
||||
sched/
|
||||
credit.cpp
|
||||
|
|
|
@ -565,7 +565,7 @@ int get_pfc(
|
|||
);
|
||||
}
|
||||
}
|
||||
if (do_scale && hav.pfc.n < MIN_HOST_SAMPLES || hav.pfc.get_avg()==0) {
|
||||
if (do_scale && (hav.pfc.n < MIN_HOST_SAMPLES || hav.pfc.get_avg()==0)) {
|
||||
do_scale = false;
|
||||
if (config.debug_credit) {
|
||||
log_messages.printf(MSG_NORMAL,
|
||||
|
|
Loading…
Reference in New Issue