and actually fix it

This commit is contained in:
Arvid Norberg 2012-03-09 00:23:08 +00:00
parent f49c6d2d52
commit 97b4012685
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ namespace libtorrent
std::string name(pe.c_str(), file_end);
std::transform(name.begin(), name.end(), name.begin(), &to_lower);
char const** str = std::find(reserved_names, reserved_names + num_names, name);
if (str != reserved + num_names)
if (str != reserved_names + num_names)
{
pe += "_";
}