mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3558
This commit is contained in:
parent
3878be3df3
commit
cf7cd8514d
|
@ -30,6 +30,8 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <iostream>
|
||||||
|
#include <locale>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -409,7 +411,7 @@ void canonicalize_master_url(string& url) {
|
||||||
string::size_type p = url.find("://");
|
string::size_type p = url.find("://");
|
||||||
// lowercase http://
|
// lowercase http://
|
||||||
if (p != string::npos) {
|
if (p != string::npos) {
|
||||||
transform(url.begin(), url.begin()+p, url.begin(), std::tolower);
|
transform(url.begin(), url.begin()+p, url.begin(), tolower);
|
||||||
p += 3;
|
p += 3;
|
||||||
} else {
|
} else {
|
||||||
p = 0;
|
p = 0;
|
||||||
|
|
Loading…
Reference in New Issue