diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-24 10:17:40 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-24 10:17:40 +0000 |
commit | 5d7fbc4b1e07573ab8e0d91ec21ed1705e630f1a (patch) | |
tree | e87ec254faa8010e08a5c4d690b63f6bfa4373e5 /pbx | |
parent | 4f1ce1ea492dddb54662568e1effce3e76c18e0f (diff) |
Update to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10988 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_config.c | 2 | ||||
-rw-r--r-- | pbx/pbx_spool.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 51947169b..d98bdd788 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -924,7 +924,7 @@ static char *complete_context_add_include(const char *line, const char *word, in */ static int handle_save_dialplan(int fd, int argc, char *argv[]) { - char filename[256]; + char filename[AST_MAX_FILENAME_LEN]; struct ast_context *c; struct ast_config *cfg; struct ast_variable *v; diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index a03085ed6..21ef3d2f1 100644 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -57,7 +57,7 @@ static char *tdesc = "Outgoing Spool Support"; static char qdir[255]; struct outgoing { - char fn[256]; + char fn[AST_MAX_FILENAME_LEN]; /* Current number of retries */ int retries; /* Maximum number of retries permitted */ @@ -78,8 +78,8 @@ struct outgoing { char data[256]; /* If extension/context/priority */ - char exten[256]; - char context[256]; + char exten[AST_MAX_EXTENSION]; + char context[AST_MAX_CONTEXT]; int priority; /* CallerID Information */ @@ -355,7 +355,7 @@ static void *scan_thread(void *unused) struct stat st; DIR *dir; struct dirent *de; - char fn[256]; + char fn[AST_MAX_FILENAME_LEN]; int res; time_t last = 0, next = 0, now; for(;;) { |