From ad23cbf1343c744eded60736c98370d2ed99f753 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 20 Dec 2019 02:37:18 +0100 Subject: Fix tor not used for all connections when enabled --- include/DownloadUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 &additional_args = {}, bool use_tor = false); + DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor); std::vector create_command_args_from_form_data(const std::vector &form_data); } \ No newline at end of file -- cgit v1.2.3