- client: don't complain that master URLs differ if it's only in case

svn path=/trunk/boinc/; revision=17310
This commit is contained in:
David Anderson 2009-02-19 21:34:48 +00:00
parent 72c57735eb
commit 8973e39479
2 changed files with 11 additions and 1 deletions

View File

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

View File

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