diff options
author | xsmile | 2018-06-04 15:20:31 +0200 |
---|---|---|
committer | xsmile | 2018-06-04 15:20:31 +0200 |
commit | d5f9faa36269d5ce2144d93ab4622f3d67e102fb (patch) | |
tree | ee3300867bac5924804e985b1105a1425580ecb8 /ps-import.return_all.patch | |
parent | 8a6e454d1f806fd9e7ca74d922b24e76e7a5e79e (diff) | |
download | aur-d5f9faa36269d5ce2144d93ab4622f3d67e102fb.tar.gz |
update
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); |