Author: file
Date: Mon Dec  1 07:07:35 2014
New Revision: 428632

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=428632
Log:
channel: Extend size of buffer for codecs in "core show channeltype" CLI 
command.

The static buffer for codecs when invoking the "core show channeltype" CLI 
command
did not have enough room for all codecs. This has been extended so it does.

ASTERISK-24542 #close
Reported by: snuffy
patches:
 channeltype-tech.diff submitted by snuffy (license 5024)

Review: https://reviewboard.asterisk.org/r/4204/

Modified:
    branches/13/main/channel.c

Modified: branches/13/main/channel.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/13/main/channel.c?view=diff&rev=428632&r1=428631&r2=428632
==============================================================================
--- branches/13/main/channel.c (original)
+++ branches/13/main/channel.c Mon Dec  1 07:07:35 2014
@@ -342,7 +342,7 @@
 static char *handle_cli_core_show_channeltype(struct ast_cli_entry *e, int 
cmd, struct ast_cli_args *a)
 {
        struct chanlist *cl = NULL;
-       struct ast_str *codec_buf = ast_str_alloca(64);
+       struct ast_str *codec_buf = ast_str_alloca(256);
 
        switch (cmd) {
        case CLI_INIT:


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to