- 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:
Rom Walton 2010-06-30 20:16:36 +00:00
parent 1dca36cdc3
commit 256dc30602
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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")) {