* Properly catch exceptions from commands called from DownloadFactory.

* The print command was not properly adding the final nul char to the
buffer.

* Added 'get_d_name' command.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@944 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-07-24 23:12:42 +00:00
parent 8617e205ea
commit 1232cd44cb
8 changed files with 50 additions and 5 deletions
+4 -1
View File
@@ -269,7 +269,10 @@ main(int argc, char** argv) {
} catch (std::exception& e) {
display::Canvas::cleanup();
delete control;
// Safe to delete here? Seem to cause problems if cleanup hasn't
// been called.
//delete control;
std::cout << "rtorrent: " << e.what() << std::endl;
return -1;