From 1b70a2989675a6f06a4f25f9c71d3763fb8226a9 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 21 May 2018 12:58:23 +0200 Subject: [PATCH] Do not print replies in debug output --- CMakeLists.txt | 2 +- src/masto.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eecb55..471dbe4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.5.1 + VERSION 0.5.2 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index 068ac9d..f3e95f0 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -48,7 +48,7 @@ Listener::Listener() cout << "Attempting to register application and write config file.\n"; if (register_app()) { - cout << "DEBUG: registration successful\n"; + cout << "DEBUG: registration successful.\n"; if (!write_config()) { cerr << "ERROR: Could not write " << _configfilepath << ".\n"; @@ -267,7 +267,7 @@ const bool Listener::send_reply(const Easy::Status &to_status, if (ret == 0) { - cout << "DEBUG: Sent reply: " << message << '\n'; + cout << "DEBUG: Sent reply.\n"; return true; } else