summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-02-24 10:50:43 +0000
committerOlle Johansson <oej@edvina.net>2006-02-24 10:50:43 +0000
commitacfc2197335f4117cc4565db692a687283906ed4 (patch)
tree28e802469cd243de66f0a19f4f87502194184b71 /pbx
parentdd5222fd30b3a15c08bf267dc8c703f3a5a4eb92 (diff)
Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_config.c2
-rw-r--r--pbx/pbx_spool.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index d98bdd788..51947169b 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[AST_MAX_FILENAME_LEN];
+ char filename[256];
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 21ef3d2f1..a03085ed6 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[AST_MAX_FILENAME_LEN];
+ char fn[256];
/* 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[AST_MAX_EXTENSION];
- char context[AST_MAX_CONTEXT];
+ char exten[256];
+ char context[256];
int priority;
/* CallerID Information */
@@ -355,7 +355,7 @@ static void *scan_thread(void *unused)
struct stat st;
DIR *dir;
struct dirent *de;
- char fn[AST_MAX_FILENAME_LEN];
+ char fn[256];
int res;
time_t last = 0, next = 0, now;
for(;;) {