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 <algorithm>
|
||||
#include <iterator>
|
||||
#include <iostream>
|
||||
#include <locale>
|
||||
#include <fstream>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -409,7 +411,7 @@ void canonicalize_master_url(string& url) {
|
|||
string::size_type p = url.find("://");
|
||||
// lowercase http://
|
||||
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;
|
||||
} else {
|
||||
p = 0;
|
||||
|
|
Loading…
Reference in New Issue