Fix "core show translation" output. Issue #8243, patch by Damin.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jason Parker 19 years ago
parent f532d2f198
commit b12229c1ff

@ -523,7 +523,7 @@ static int show_translation_deprecated(int fd, int argc, char *argv[])
longest = curlen;
}
for (x = -1; x < SHOW_TRANS; x++) {
char line[80];
char line[120];
char *buf = line;
size_t left = sizeof(line) - 1; /* one initial space */
/* next 2 lines run faster than using ast_build_string() */
@ -591,7 +591,7 @@ static int show_translation(int fd, int argc, char *argv[])
longest = curlen;
}
for (x = -1; x < SHOW_TRANS; x++) {
char line[80];
char line[120];
char *buf = line;
size_t left = sizeof(line) - 1; /* one initial space */
/* next 2 lines run faster than using ast_build_string() */

Loading…
Cancel
Save