Fix catching of invalid torrent file

This commit is contained in:
Andrew Resch 2008-05-14 20:11:08 +00:00
parent 069bd5da88
commit 0d8b619200
1 changed files with 3 additions and 0 deletions

View File

@ -929,6 +929,9 @@ std::cout << asctime(timeinfo) << " torrent_dump_file_info()" << std::endl;
return ret;
}
catch(invalid_torrent_file&){
return NULL;
}
catch(invalid_encoding&){
return NULL;
}