From 35cd242539571d0efb024330e324892dd38393bc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 13 May 2010 22:19:02 +0000 Subject: [PATCH] typo svn path=/trunk/boinc/; revision=21515 --- client/cs_scheduler.cpp | 2 +- client/scheduler_op.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/cs_scheduler.cpp b/client/cs_scheduler.cpp index 88610217e5..7c6481ce2e 100644 --- a/client/cs_scheduler.cpp +++ b/client/cs_scheduler.cpp @@ -337,7 +337,7 @@ int CLIENT_STATE::make_scheduler_request(PROJECT* p) { // if (strlen(rp->avp->plan_class)) { fprintf(f, - " %d\n", + " %s\n", rp->avp->plan_class ); } diff --git a/client/scheduler_op.cpp b/client/scheduler_op.cpp index e428211481..f382e6871f 100644 --- a/client/scheduler_op.cpp +++ b/client/scheduler_op.cpp @@ -800,10 +800,10 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) { USER_MESSAGE um(msg_buf, pri_buf); messages.push_back(um); continue; - } else if (match_tag(buf, "")) { - message_ack = true; - } else if (match_tag(buf, "")) { - project_is_down = true; + } else if (parse_bool(buf, "message_ack", message_ack)) { + continue; + } else if (parse_bool(buf, "project_is_down", project_is_down)) { + continue; } else if (parse_str(buf, "", project->email_hash, sizeof(project->email_hash))) { continue; } else if (parse_str(buf, "", project->cross_project_id, sizeof(project->cross_project_id))) { @@ -822,10 +822,10 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) { continue; } else if (parse_bool(buf, "verify_files_on_app_start", project->verify_files_on_app_start)) { continue; - } else if (match_tag(buf, "")) { - send_file_list = true; - } else if (match_tag(buf, "")) { - send_full_workload = true; + } else if (parse_bool(buf, "request_file_list", send_file_list)) { + continue; + } else if (parse_bool(buf, "send_full_workload", send_full_workload)) { + continue; } else if (parse_int(buf, "", send_time_stats_log)){ continue; } else if (parse_int(buf, "", send_job_log)) {