Fix catching of invalid torrent file
This commit is contained in:
parent
069bd5da88
commit
0d8b619200
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue