diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-12-20 02:37:18 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-12-20 02:37:18 +0100 |
commit | ad23cbf1343c744eded60736c98370d2ed99f753 (patch) | |
tree | 8146799f89aa1678c9e472bdfb5e8c73c4462b71 /include | |
parent | 5ef35784af24e5fcaa0f8570c23299d01b46412a (diff) |
Fix tor not used for all connections when enabled
Diffstat (limited to 'include')
-rw-r--r-- | include/DownloadUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 78fc859..0411236 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -20,6 +20,6 @@ namespace QuickMedia { std::string value; }; - DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args = {}, bool use_tor = false); + DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args, bool use_tor); std::vector<CommandArg> create_command_args_from_form_data(const std::vector<FormData> &form_data); }
\ No newline at end of file |