mirror of https://github.com/BOINC/boinc.git
- LIB: Reset the completed flag to false at the begining of the get_notices rpc
just in case the notices buffer is being reused. lib/ gui_rpc_client_ops.cpp svn path=/trunk/boinc/; revision=21852
This commit is contained in:
parent
1dca36cdc3
commit
256dc30602
|
@ -4894,3 +4894,10 @@ Rom 30 Jun 2010
|
|||
|
||||
clientgui/
|
||||
NoticeListCtrl.cpp, .h
|
||||
|
||||
Rom 30 Jun 2010
|
||||
- LIB: Reset the completed flag to false at the begining of the get_notices rpc
|
||||
just in case the notices buffer is being reused.
|
||||
|
||||
lib/
|
||||
gui_rpc_client_ops.cpp
|
||||
|
|
|
@ -2353,6 +2353,8 @@ static int parse_notices(MIOFILE& fin, NOTICES& notices) {
|
|||
bool is_tag;
|
||||
int retval;
|
||||
|
||||
notices.complete = false;
|
||||
|
||||
while (!xp.get(tag, sizeof(tag), is_tag)) {
|
||||
if (!is_tag) continue;
|
||||
if (!strcmp(tag, "notice")) {
|
||||
|
|
Loading…
Reference in New Issue