Do not print replies in debug output
This commit is contained in:
parent
0f8ca030fe
commit
1b70a29896
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user