Fix maximum length log message.

This commit is contained in:
tastytea 2019-12-29 03:34:10 +01:00
parent 9dfb6715c7
commit 75a18dc21c
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 2 deletions

View File

@ -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)
{