client_test works better on windows now
This commit is contained in:
parent
eb92fa8b68
commit
0c1c9d375d
|
@ -531,6 +531,8 @@ int main(int ac, char* av[])
|
|||
// here ranges may overlap, and it is the last added
|
||||
// rule that has precedence for addresses that may fall
|
||||
// into more than one range.
|
||||
if (!ip_filter_file.empty())
|
||||
{
|
||||
std::ifstream in(ip_filter_file.c_str());
|
||||
ip_filter filter;
|
||||
while (in.good())
|
||||
|
@ -553,8 +555,8 @@ int main(int ac, char* av[])
|
|||
if (in.fail()) break;
|
||||
filter.add_rule(start, last, flags);
|
||||
}
|
||||
|
||||
ses.set_ip_filter(filter);
|
||||
}
|
||||
boost::filesystem::path save_path(save_path_str);
|
||||
|
||||
// load the torrents given on the commandline
|
||||
|
|
Loading…
Reference in New Issue