From b93eb75fa24f4d390a68ece883812de83663d74d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 3 Feb 2005 18:31:44 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5297 --- checkin_notes | 7 +++++++ client/client_types.C | 15 +++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/checkin_notes b/checkin_notes index 1262058c17..0f12a2bd5b 100755 --- a/checkin_notes +++ b/checkin_notes @@ -23901,3 +23901,10 @@ Bruce 3 Feb 2005 client/ http.C +David 3 Feb 2005 + - when get a FILE_INFO in a scheduler RPC reply, + replace the current list of URLs + with the list in the scheduler reply + + client/ + client_types.C diff --git a/client/client_types.C b/client/client_types.C index 27963f2c56..5fc9ae3859 100644 --- a/client/client_types.C +++ b/client/client_types.C @@ -756,17 +756,12 @@ int FILE_INFO::merge_info(FILE_INFO& new_info) { sprintf(buf, " %.0f\n", new_info.max_nbytes); strcat(signed_xml, buf); } + + // replace existing URLs with new ones + // + urls.clear(); for (i=0; i