mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix catching of invalid torrent file
This commit is contained in:
parent
069bd5da88
commit
0d8b619200
1 changed files with 3 additions and 0 deletions
|
@ -929,6 +929,9 @@ std::cout << asctime(timeinfo) << " torrent_dump_file_info()" << std::endl;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
catch(invalid_torrent_file&){
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
catch(invalid_encoding&){
|
catch(invalid_encoding&){
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue