summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-05-31 09:25:02 +0000
committerJoshua Colp <jcolp@digium.com>2017-05-31 09:00:09 -0500
commitf6eeaaafd507df6e2094dd201cb6897dbb63216a (patch)
tree0ea96ce32ddae4acd5f966afb69ea4709c9cbb6a /main/channel.c
parentcf60a0c5bd9f01cee8f70003329dccc32752691e (diff)
channel / app_meetme: Fix parentheses.
ASTERISK-27025 Change-Id: Id736b0aa4ec6b6b0f04663d64fa8d151f81fdbed
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 1f97e651c..4451e524f 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -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;
}