mirror of https://github.com/BOINC/boinc.git
- server: fix bug in restrict_wu_to_user() that caused it
to go into infinite loop svn path=/trunk/boinc/; revision=26006
This commit is contained in:
parent
cd1f79fbbc
commit
0129c1c53d
|
@ -5418,3 +5418,10 @@ David 10 Aug 2012
|
|||
|
||||
api/
|
||||
boinc_api.cpp,h
|
||||
|
||||
David 10 Aug 2012
|
||||
- server: fix bug in restrict_wu_to_user() that caused it
|
||||
to go into infinite loop
|
||||
|
||||
sched/
|
||||
sched_util.cpp
|
||||
|
|
|
@ -330,7 +330,7 @@ int restrict_wu_to_user(WORKUNIT& _wu, int userid) {
|
|||
sprintf(buf, "where workunitid=%d and server_state=%d",
|
||||
wu.id, RESULT_SERVER_STATE_UNSENT
|
||||
);
|
||||
while (result.enumerate(buf)) {
|
||||
while (!result.enumerate(buf)) {
|
||||
char buf2[256];
|
||||
sprintf(buf2, "server_state=%d, outcome=%d",
|
||||
RESULT_SERVER_STATE_OVER,
|
||||
|
|
Loading…
Reference in New Issue