diff options
Diffstat (limited to 'ps-import.return_all.patch')
-rw-r--r-- | ps-import.return_all.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ps-import.return_all.patch b/ps-import.return_all.patch new file mode 100644 index 000000000000..79a804e8cfc2 --- /dev/null +++ b/ps-import.return_all.patch @@ -0,0 +1,10 @@ +--- a/src/rpc/parse_commands.cc ++++ b/src/rpc/parse_commands.cc +@@ -226,6 +226,7 @@ parse_command_file(const std::string& path) { + } + + } catch (torrent::input_error& e) { ++ if (!strcmp(e.what(), "import.return")) return true; + snprintf(buffer, 2048, "Error in option file: %s:%u: %s", path.c_str(), lineNumber, e.what()); + + throw torrent::input_error(buffer); |