diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-05 13:25:00 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-05 13:25:00 +0000 |
commit | 66c01ad9f2fde5d1afaed0dba25d74f62372e4f9 (patch) | |
tree | 2b885008223f27c1b0692bbe3e32b40df7148fb7 /main | |
parent | 293ea8624b6fe8a83d4c08aa60c6562fbe7fb1da (diff) |
Use PATH_MAX for filenames
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@135597 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cli.c b/main/cli.c index 36f20a511..e685268d7 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1249,7 +1249,7 @@ static char *complete_mod_4(const char *line, const char *word, int pos, int sta static char *complete_fn_2(const char *line, const char *word, int pos, int state) { char *c, *d; - char filename[256]; + char filename[PATH_MAX]; if (pos != 1) return NULL; @@ -1273,7 +1273,7 @@ static char *complete_fn_2(const char *line, const char *word, int pos, int stat static char *complete_fn_3(const char *line, const char *word, int pos, int state) { char *c, *d; - char filename[256]; + char filename[PATH_MAX]; if (pos != 2) return NULL; |