]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix "core show translation" output. Issue #8243, patch by Damin.
authorJason Parker <jparker@digium.com>
Tue, 31 Oct 2006 22:02:15 +0000 (22:02 +0000)
committerJason Parker <jparker@digium.com>
Tue, 31 Oct 2006 22:02:15 +0000 (22:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46716 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/translate.c

index fed068d3f37bc684a059b8e9c09bf8fdf868cd25..82e2789ff0d8db239a6a6b202110de30545a7ff3 100644 (file)
@@ -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() */