mirror of https://github.com/BOINC/boinc.git
- client: fix crashing bug in SCHEDULER_OP::backoff().
Was using cur_proj (which is potentially NULL) instead of p svn path=/trunk/boinc/; revision=14782
This commit is contained in:
parent
e5f1f2f9cb
commit
53274d8b24
|
@ -1582,3 +1582,10 @@ David Feb 22 2008
|
|||
(should do same for request and reply at some point)
|
||||
|
||||
sched/sched_*
|
||||
|
||||
David Feb 23 2008
|
||||
- client: fix crashing bug in SCHEDULER_OP::backoff().
|
||||
Was using cur_proj (which is potentially NULL) instead of p
|
||||
|
||||
client/
|
||||
scheduler_op.C
|
||||
|
|
|
@ -234,7 +234,7 @@ int SCHEDULER_OP::start_rpc(PROJECT* p) {
|
|||
"Scheduler request failed: %s", boincerror(retval)
|
||||
);
|
||||
}
|
||||
backoff(cur_proj, "scheduler request failed");
|
||||
backoff(p, "scheduler request failed");
|
||||
return retval;
|
||||
}
|
||||
retval = http_ops->insert(&http_op);
|
||||
|
@ -244,7 +244,7 @@ int SCHEDULER_OP::start_rpc(PROJECT* p) {
|
|||
"Scheduler request failed: %s", boincerror(retval)
|
||||
);
|
||||
}
|
||||
backoff(cur_proj, "scheduler request failed");
|
||||
backoff(p, "scheduler request failed");
|
||||
return retval;
|
||||
}
|
||||
p->rpc_seqno++;
|
||||
|
|
Loading…
Reference in New Issue