diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-02 10:29:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-02 10:29:29 +0000 |
| commit | dcd6405bb3c54500b32cdc0c8ce652f5942e4c46 (patch) | |
| tree | 1a9c02f3bfa755f2f19864cfb68bda59a2218ab9 /src/lib/internet.h | |
| parent | 99338666a8d502e7ddef374d762c6844e1c28941 (diff) | |
Specify no EPRT on FTP downloads. Fix request to CURL when not
using PASV. Fix incorrect return value from ftp_ls_data.
Tidy Dolby fetching code a bit. Fix sensitivity of Dolby
download button (#769).
Diffstat (limited to 'src/lib/internet.h')
| -rw-r--r-- | src/lib/internet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/internet.h b/src/lib/internet.h index f46abc367..12b2ba3cd 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -21,5 +21,5 @@ #include <boost/function.hpp> #include <boost/filesystem.hpp> -boost::optional<std::string> get_from_zip_url (std::string url, std::string file, boost::function<void (boost::filesystem::path)> load); +boost::optional<std::string> get_from_zip_url (std::string url, std::string file, bool pasv, boost::function<void (boost::filesystem::path)> load); std::list<std::string> ftp_ls (std::string dir, bool pasv = true); |
