summaryrefslogtreecommitdiff
path: root/utils/astman.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/astman.c')
-rw-r--r--utils/astman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/astman.c b/utils/astman.c
index 63d7f5ada..af3185104 100644
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -275,7 +275,7 @@ static void rebuild_channels(newtComponent c)
{
void *prev = NULL;
struct ast_chan *chan;
- char tmpn[42];
+ char tmpn[sizeof(chan->name) + sizeof(chan->callerid) + 3 - 1];
char tmp[256];
int x=0;
prev = newtListboxGetCurrent(c);