Remove trailing NULLs from throttling message
This commit is contained in:
parent
db4b6793c4
commit
ef5bbd9353
@ -2942,7 +2942,7 @@ int mxs_log_message(int priority,
|
||||
if (status == MESSAGE_SUPPRESSED)
|
||||
{
|
||||
suppression_len += sizeof(SUPPRESSION) - 1; // Remove trailing NULL
|
||||
suppression_len += 3; // Remove the %lu
|
||||
suppression_len -= 3; // Remove the %lu
|
||||
suppression_len += UINTLEN(suppress_ms);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user