mirror of https://github.com/BOINC/boinc.git
fixed timeout_check crash
svn path=/trunk/boinc/; revision=1830
This commit is contained in:
parent
2381e55b46
commit
7da5ab0633
|
@ -5403,3 +5403,7 @@ Karl 2003/07/25
|
|||
py/*
|
||||
tools/*
|
||||
client/*
|
||||
|
||||
Karl 2003/07/27
|
||||
fixed bug in timeout_check if WU has no results
|
||||
sched/timeout_check.C
|
||||
|
|
|
@ -165,6 +165,12 @@ void handle_wu(DB_WORKUNIT& wu) {
|
|||
results.push_back(result);
|
||||
}
|
||||
|
||||
if (results.size() == 0) {
|
||||
log_messages.printf(SchedMessages::NORMAL, "[WU#%d %s] No results\n",
|
||||
wu.id, wu.name);
|
||||
return;
|
||||
}
|
||||
|
||||
log_messages.printf(SchedMessages::DEBUG, "[WU#%d %s] enumerated %d results\n",
|
||||
wu.id, wu.name, (int)results.size());
|
||||
|
||||
|
|
Loading…
Reference in New Issue