diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-28 22:46:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-28 22:46:12 +0200 |
| commit | f4e1b8558e1c3b7356a7d49bfab3a686601b00f4 (patch) | |
| tree | f2c7ceb1fdf6f8f3dd18143d812e2a32ab2e9102 /src/lib/curl_uploader.h | |
| parent | fb1c15c5403abbf4ec967874daa518c71aa5477c (diff) | |
Whitespace: {curl_,scp_,}uploader.{cc,h}
Diffstat (limited to 'src/lib/curl_uploader.h')
| -rw-r--r-- | src/lib/curl_uploader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/curl_uploader.h b/src/lib/curl_uploader.h index 4ee221f08..0634d564f 100644 --- a/src/lib/curl_uploader.h +++ b/src/lib/curl_uploader.h @@ -27,15 +27,15 @@ class CurlUploader : public Uploader { public: - CurlUploader (std::function<void (std::string)> set_status, std::function<void (float)> set_progress); - ~CurlUploader (); + CurlUploader(std::function<void (std::string)> set_status, std::function<void (float)> set_progress); + ~CurlUploader(); - size_t read_callback (void* ptr, size_t size, size_t nmemb); + size_t read_callback(void* ptr, size_t size, size_t nmemb); int debug(CURL* curl, curl_infotype type, char* data, size_t size); protected: - void create_directory (boost::filesystem::path directory) override; - void upload_file (boost::filesystem::path from, boost::filesystem::path to, boost::uintmax_t& transferred, boost::uintmax_t total_size) override; + void create_directory(boost::filesystem::path directory) override; + void upload_file(boost::filesystem::path from, boost::filesystem::path to, boost::uintmax_t& transferred, boost::uintmax_t total_size) override; private: CURL* _curl; |
