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 13:59:04 +0000
commitdc05183f4b7d728534ec6fa5f3fc21802396aabf (patch)
tree8a3370f471b8b58504399cb9c77793aa2956b64c /main/channel.c
parent1e65857e6f5da8cf0dd84f9a669e11dc79d36513 (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 5aaeab9d2..f2d869723 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -9192,7 +9192,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;
}