summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_http.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-05-23 23:08:13 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-05-23 23:08:13 -0400
commit1e5813cf189748c5d68575f800e4189f02f1de2e (patch)
tree082a3f828be906a993df0ec1623d384062ff0f0d /gtk2_ardour/ardour_http.cc
parent07466440c4972b083c6f5cd276f4540ba9c5de6c (diff)
no actual error messages when curl requests fail
Diffstat (limited to 'gtk2_ardour/ardour_http.cc')
-rw-r--r--gtk2_ardour/ardour_http.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_http.cc b/gtk2_ardour/ardour_http.cc
index 320e1f8127..a67522d90d 100644
--- a/gtk2_ardour/ardour_http.cc
+++ b/gtk2_ardour/ardour_http.cc
@@ -186,7 +186,6 @@ HttpGet::get (const char* url)
#endif
_status = _result = -1;
if (!_curl || !url) {
- PBD::error << "HttpGet::get() not initialized (or NULL url)"<< endmsg;
#ifdef ARDOURCURLDEBUG
std::cerr << "HttpGet::get() not initialized (or NULL url)"<< std::endl;
#endif
@@ -194,7 +193,6 @@ HttpGet::get (const char* url)
}
if (strncmp ("http://", url, 7) && strncmp ("https://", url, 8)) {
- PBD::error << "HttpGet::get() not a http[s] URL"<< endmsg;
#ifdef ARDOURCURLDEBUG
std::cerr << "HttpGet::get() not a http[s] URL"<< std::endl;
#endif
@@ -218,14 +216,12 @@ HttpGet::get (const char* url)
CCERR ("CURLINFO_RESPONSE_CODE,");
if (_result) {
- PBD::error << string_compose (_("HTTP request failed: (%1) %2"), _result, error_buffer) << endmsg;
#ifdef ARDOURCURLDEBUG
std::cerr << string_compose (_("HTTP request failed: (%1) %2"), _result, error_buffer) << std::endl;
#endif
return NULL;
}
if (_status != 200) {
- PBD::error << string_compose (_("HTTP request status: %1"), _status) << endmsg;
#ifdef ARDOURCURLDEBUG
std::cerr << string_compose (_("HTTP request status: %1"), _status) << std::endl;
#endif