diff options
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
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; } |