ENH: remove debug print stuff

This commit is contained in:
Bill Hoffman 2008-02-06 09:46:58 -05:00
parent 7dfcc3fc12
commit a752fc5e85

View File

@ -1918,7 +1918,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
std::vector<std::string>::const_iterator i = args.begin(); std::vector<std::string>::const_iterator i = args.begin();
if(args.size() < 3) if(args.size() < 3)
{ {
std::cout << args.size() << "\n";
this->SetError("FILE(DOWNLOAD url file) must be called with " this->SetError("FILE(DOWNLOAD url file) must be called with "
"at least three arguments."); "at least three arguments.");
return false; return false;
@ -1971,11 +1970,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
} }
i++; i++;
} }
std::cout << "log var: [" << verboseLog << "]\n";
std::cout << "Url: [" << url << "]\n";
std::cout << "file: [" << file << "]\n";
std::cout << "timeout: [" << timeout << "]\n";
std::ofstream fout(file.c_str()); std::ofstream fout(file.c_str());
if(!fout) if(!fout)
{ {
@ -2010,7 +2004,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout ); curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout );
} }
CURLcode res = curl_easy_perform(curl); CURLcode res = curl_easy_perform(curl);
std::cout << "res = " << res << "\n";
/* always cleanup */ /* always cleanup */
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
if(statusVar.size()) if(statusVar.size())