mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3040
This commit is contained in:
parent
f3cdbc0d35
commit
9614f2f2b1
|
@ -38,6 +38,7 @@
|
|||
#include <algorithm>
|
||||
#include <fstream>
|
||||
using namespace std;
|
||||
using std::string;
|
||||
#endif
|
||||
|
||||
#include "error_numbers.h"
|
||||
|
@ -392,7 +393,7 @@ void canonicalize_master_url(string& url) {
|
|||
string::size_type p = url.find("://");
|
||||
// lowercase http://
|
||||
if (p != string::npos) {
|
||||
std::transform(url.begin(), url.begin()+p, url.begin(), tolower);
|
||||
transform(url.begin(), url.begin()+p, url.begin(), tolower);
|
||||
p += 3;
|
||||
} else {
|
||||
p = 0;
|
||||
|
|
Loading…
Reference in New Issue