mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
channel / app_meetme: Fix parentheses.
ASTERISK-27025 Change-Id: Id736b0aa4ec6b6b0f04663d64fa8d151f81fdbed
This commit is contained in:
@@ -9116,7 +9116,7 @@ static int redirecting_reason_build_data(unsigned char *data, size_t datalen,
|
||||
|
||||
if (reason->str) {
|
||||
length = strlen(reason->str);
|
||||
if (datalen < pos + sizeof(data[0] * 2) + length) {
|
||||
if (datalen < pos + (sizeof(data[0]) * 2) + length) {
|
||||
ast_log(LOG_WARNING, "No space left for %s string\n", label);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user