fix typo in previos commit
This commit is contained in:
parent
bb64887f30
commit
8473696d62
|
@ -167,7 +167,8 @@ TORRENT_TEST(total_wanted)
|
||||||
std::vector<char> tmp;
|
std::vector<char> tmp;
|
||||||
bencode(std::back_inserter(tmp), t.generate());
|
bencode(std::back_inserter(tmp), t.generate());
|
||||||
error_code ec;
|
error_code ec;
|
||||||
boost::shared_ptr<torrent_info> info(boost::make_shared<torrent_info>(&tmp[0], tmp.size(), ec));
|
boost::shared_ptr<torrent_info> info(boost::make_shared<torrent_info>(
|
||||||
|
&tmp[0], tmp.size(), boost::ref(ec)));
|
||||||
|
|
||||||
settings_pack pack;
|
settings_pack pack;
|
||||||
pack.set_int(settings_pack::alert_mask, alert::storage_notification);
|
pack.set_int(settings_pack::alert_mask, alert::storage_notification);
|
||||||
|
|
Loading…
Reference in New Issue