From 331d04905f7f54b37790b9903915b83ac82f7204 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 3 May 2004 03:24:34 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3313 --- checkin_notes | 7 +++++++ client/prefs.C | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index b706a505bc..922774ea1c 100755 --- a/checkin_notes +++ b/checkin_notes @@ -11938,3 +11938,10 @@ David May 2 2004 sched/ handle_request.C server_types.C,h + +David May 2 2004 + - client: fixed bug in general prefs parsing that caused + source project to be "unidentified" + + client/ + prefs.C diff --git a/client/prefs.C b/client/prefs.C index 8243ff35ff..ed842eddbe 100644 --- a/client/prefs.C +++ b/client/prefs.C @@ -65,8 +65,6 @@ void GLOBAL_PREFS::init() { max_memory_mbytes = 128; proc_priority = 1; cpu_affinity = -1; - source_project = ""; - source_scheduler = ""; }; GLOBAL_PREFS::GLOBAL_PREFS() { @@ -86,6 +84,8 @@ int GLOBAL_PREFS::parse(FILE* in, char* host_venue, bool& found_venue) { bool in_venue = false, in_correct_venue=false; init(); + source_project = ""; + source_scheduler = ""; // set all booleans to false here run_on_batteries = false;