From 8973e39479d64f1c668c4df377399ec5c95e3f8e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 19 Feb 2009 21:34:48 +0000 Subject: [PATCH] - client: don't complain that master URLs differ if it's only in case svn path=/trunk/boinc/; revision=17310 --- checkin_notes | 6 ++++++ client/cs_scheduler.cpp | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index b1b156cca6..a9206b3ffe 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1732,3 +1732,9 @@ David 19 Feb 2009 client/ work_fetch.cpp + +David 19 Feb 2009 + - client: don't complain that master URLs differ if it's only in case + + client/ + cs_scheduler.cpp diff --git a/client/cs_scheduler.cpp b/client/cs_scheduler.cpp index db2e91fb2e..924232c70c 100644 --- a/client/cs_scheduler.cpp +++ b/client/cs_scheduler.cpp @@ -454,7 +454,11 @@ int CLIENT_STATE::handle_scheduler_reply(PROJECT* project, char* scheduler_url) // if (strlen(sr.master_url)) { canonicalize_master_url(sr.master_url); - if (strcmp(sr.master_url, project->master_url)) { + string url1 = sr.master_url; + string url2 = project->master_url; + downcase_string(url1); + downcase_string(url2); + if (url1 != url2) { msg_printf(project, MSG_USER_ERROR, "You used the wrong URL for this project" );