*** empty log message ***

svn path=/trunk/boinc/; revision=3558
This commit is contained in:
Rom Walton 2004-06-13 22:34:07 +00:00
parent 3878be3df3
commit cf7cd8514d
1 changed files with 3 additions and 1 deletions

View File

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