lt sync 2824 - fix segfault when passing None to torrent_info()

This commit is contained in:
Andrew Resch 2008-10-17 19:38:33 +00:00
parent 41bedda10a
commit d12019cbc4

View File

@ -77,7 +77,6 @@ void bind_torrent_info()
.def(init<entry const&>())
.def(init<sha1_hash const&>())
.def(init<char const*, int>())
.def(init<char const*>())
.def("add_tracker", &torrent_info::add_tracker, (arg("url"), arg("tier")=0))
.def("add_url_seed", &torrent_info::add_url_seed)