From 75a18dc21c1c2f5c3c6d154ade9c5901410d1026 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 29 Dec 2019 03:34:10 +0100 Subject: [PATCH] Fix maximum length log message. --- src/mastoapi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mastoapi.cpp b/src/mastoapi.cpp index 822f093..794a705 100644 --- a/src/mastoapi.cpp +++ b/src/mastoapi.cpp @@ -72,8 +72,7 @@ void MastoAPI::post_item(const Item &item) } return _profile.max_size; }()}; - BOOST_LOG_TRIVIAL(debug) << "Maximum status length: " << status.size(); - + BOOST_LOG_TRIVIAL(debug) << "Maximum status length: " << len_max;; if ((len_status + len_append) > len_max) {