added support for min_interval
This commit is contained in:
@@ -286,6 +286,13 @@ namespace libtorrent
|
||||
return e;
|
||||
}
|
||||
|
||||
lazy_entry const* lazy_entry::dict_find_int(char const* name) const
|
||||
{
|
||||
lazy_entry const* e = dict_find(name);
|
||||
if (e == 0 || e->type() != lazy_entry::int_t) return 0;
|
||||
return e;
|
||||
}
|
||||
|
||||
size_type lazy_entry::dict_find_int_value(char const* name, size_type default_val) const
|
||||
{
|
||||
lazy_entry const* e = dict_find(name);
|
||||
|
Reference in New Issue
Block a user