Kaydet (Commit) 0c7558f5 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove old debug output

Change-Id: Icf0e38c6725a129d3afb22b1cc79f72071c8e919
Reviewed-on: https://gerrit.libreoffice.org/25934Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 0ade7b0d
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <map> #include <map>
#include <memory> #include <memory>
#include <iostream>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
...@@ -162,8 +161,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string& ...@@ -162,8 +161,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string&
curl_easy_strerror(cc)); curl_easy_strerror(cc));
#endif #endif
const char* error_description = curl_easy_strerror(cc);
if (formpost != nullptr) if (formpost != nullptr)
{ {
curl_formfree(formpost); curl_formfree(formpost);
...@@ -173,8 +170,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string& ...@@ -173,8 +170,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string&
curl_slist_free_all(headerlist); curl_slist_free_all(headerlist);
} }
std::cerr << response_body << " " << error_description << std::endl;
response = response_body; response = response_body;
if( CURLE_OK != cc ) if( CURLE_OK != cc )
...@@ -191,13 +186,13 @@ bool readConfig(const std::string& iniPath, std::string& response) ...@@ -191,13 +186,13 @@ bool readConfig(const std::string& iniPath, std::string& response)
// make sure that at least the mandatory parameters are in there // make sure that at least the mandatory parameters are in there
if (parameters.find("DumpFile") == parameters.end()) if (parameters.find("DumpFile") == parameters.end())
{ {
std::cerr << "ini file needs to contain a key DumpFile!"; response = "ini file needs to contain a key DumpFile!";
return false; return false;
} }
if (parameters.find("Version") == parameters.end()) if (parameters.find("Version") == parameters.end())
{ {
std::cerr << "ini file needs to contain a key Version!"; response = "ini file needs to contain a key Version!";
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment