Do not print replies in debug output

This commit is contained in:
tastytea 2018-05-21 12:58:23 +02:00
parent 0f8ca030fe
commit 1b70a29896
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7) cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon project (expandurl-mastodon
VERSION 0.5.1 VERSION 0.5.2
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -48,7 +48,7 @@ Listener::Listener()
cout << "Attempting to register application and write config file.\n"; cout << "Attempting to register application and write config file.\n";
if (register_app()) if (register_app())
{ {
cout << "DEBUG: registration successful\n"; cout << "DEBUG: registration successful.\n";
if (!write_config()) if (!write_config())
{ {
cerr << "ERROR: Could not write " << _configfilepath << ".\n"; cerr << "ERROR: Could not write " << _configfilepath << ".\n";
@ -267,7 +267,7 @@ const bool Listener::send_reply(const Easy::Status &to_status,
if (ret == 0) if (ret == 0)
{ {
cout << "DEBUG: Sent reply: " << message << '\n'; cout << "DEBUG: Sent reply.\n";
return true; return true;
} }
else else