diff options
Diffstat (limited to 'pbx/pbx_spool.c')
-rw-r--r-- | pbx/pbx_spool.c | 8 |
1 files changed, 4 insertions, 4 deletions
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(;;) { |