Fix maximum length log message.
This commit is contained in:
parent
9dfb6715c7
commit
75a18dc21c
|
@ -72,8 +72,7 @@ void MastoAPI::post_item(const Item &item)
|
||||||
}
|
}
|
||||||
return _profile.max_size;
|
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)
|
if ((len_status + len_append) > len_max)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user