summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-05 22:26:25 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-05 21:21:59 +0000
commit0c7558f56d82bca2ed736ca4185f1e87c76cf7aa (patch)
tree66cd8a878bc714dd98bbf7578642faa33014ab26
parent0ade7b0d7764ffa40dc4598389f0a5e0cdf0b039 (diff)
remove old debug output
Change-Id: Icf0e38c6725a129d3afb22b1cc79f72071c8e919 Reviewed-on: https://gerrit.libreoffice.org/25934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--desktop/source/minidump/minidump.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/desktop/source/minidump/minidump.cxx b/desktop/source/minidump/minidump.cxx
index 0075ca9d2b1f..135b24a78435 100644
--- a/desktop/source/minidump/minidump.cxx
+++ b/desktop/source/minidump/minidump.cxx
@@ -11,7 +11,6 @@
#include <map>
#include <memory>
-#include <iostream>
#include <fstream>
#include <sstream>
@@ -162,8 +161,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string&
curl_easy_strerror(cc));
#endif
- const char* error_description = curl_easy_strerror(cc);
-
if (formpost != nullptr)
{
curl_formfree(formpost);
@@ -173,8 +170,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string&
curl_slist_free_all(headerlist);
}
- std::cerr << response_body << " " << error_description << std::endl;
-
response = response_body;
if( CURLE_OK != cc )
@@ -191,13 +186,13 @@ bool readConfig(const std::string& iniPath, std::string& response)
// make sure that at least the mandatory parameters are in there
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;
}
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;
}