# # # patch "usher/src/dir_serverlist_reader.cc" # from [ed4dffa8e192bf0f0d1aeff270514b6f6d5ac45e] # to [40fc65b4fadb00bc8278c0895f94a1fcde6f2023] # ============================================================ --- usher/src/dir_serverlist_reader.cc ed4dffa8e192bf0f0d1aeff270514b6f6d5ac45e +++ usher/src/dir_serverlist_reader.cc 40fc65b4fadb00bc8278c0895f94a1fcde6f2023 @@ -3,7 +3,6 @@ #include #include #include -#include using std::string; using std::vector; @@ -44,10 +43,7 @@ dir_serverlist_reader::get_next() ss.local_args.push_back("--db=" + mydir + "/database"); ss.local_args.push_back("--confdir=" + mydir); - std::string hostname; - std::transform(ss.name.begin(), ss.name.end(), - std::back_inserter(hostname), &tolower); - ss.hosts.insert(hostname + "."); + ss.hosts.insert(ss.name + "."); return ss; }