Skip to content

Commit

Permalink
Downloader: initialize progress variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
torque committed Feb 24, 2015
1 parent 14eeaee commit 66764b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threaded-libcurl/Downloader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Downloader {
public:
bool terminated = false, done = false, failed = false;
std::string error;
curl_off_t current, total;
curl_off_t current = 0, total = 0;

Downloader( std::string theUrl, std::string theOutfile );
Downloader( std::string theUrl, std::string theOutfile, std::string theSha1 );
Expand Down

0 comments on commit 66764b2

Please sign in to comment.