fix alert_mask in bt-get.cpp
This commit is contained in:
parent
fa03cbea9b
commit
eeca133dd7
|
@ -47,7 +47,10 @@ int main(int argc, char const* argv[])
|
|||
std::cerr << "usage: " << argv[0] << " <magnet-url>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
lt::session ses;
|
||||
lt::settings_pack p;
|
||||
p.set_int(lt::settings_pack::alert_mask, lt::alert::status_notification
|
||||
| lt::alert::error_notification);
|
||||
lt::session ses(p);
|
||||
|
||||
lt::add_torrent_params atp;
|
||||
lt::error_code ec;
|
||||
|
|
Loading…
Reference in New Issue