aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-12-20 02:37:18 +0100
committerdec05eba <dec05eba@protonmail.com>2019-12-20 02:37:18 +0100
commitad23cbf1343c744eded60736c98370d2ed99f753 (patch)
tree8146799f89aa1678c9e472bdfb5e8c73c4462b71 /include
parent5ef35784af24e5fcaa0f8570c23299d01b46412a (diff)
Fix tor not used for all connections when enabled
Diffstat (limited to 'include')
-rw-r--r--include/DownloadUtils.hpp2
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