mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
Added 'network.bind_address.ipv{4,6}.set' commands.
This commit is contained in:
@@ -497,6 +497,8 @@ main(int argc, char** argv) {
|
||||
|
||||
lt_log_print_dump(torrent::LOG_CRITICAL, e.backtrace().c_str(), e.backtrace().size(),
|
||||
"Caught internal_error: '%s'.", e.what());
|
||||
|
||||
torrent::log_cleanup();
|
||||
return -1;
|
||||
|
||||
} catch (std::exception& e) {
|
||||
@@ -505,6 +507,8 @@ main(int argc, char** argv) {
|
||||
std::cout << "rtorrent: caught" << typeid(e).name() << " : " << e.what() << std::endl;
|
||||
|
||||
lt_log_print(torrent::LOG_CRITICAL, "Caught exception: '%s'.", e.what());
|
||||
|
||||
torrent::log_cleanup();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user