aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/logger.c b/logger.c
index 309e13a50..567019dbe 100644
--- a/logger.c
+++ b/logger.c
@@ -378,8 +378,8 @@ void ast_queue_log(const char *queuename, const char *callid, const char *agent,
int reload_logger(int rotate)
{
- char old[AST_CONFIG_MAX_PATH] = "";
- char new[AST_CONFIG_MAX_PATH];
+ char old[PATH_MAX] = "";
+ char new[PATH_MAX];
int event_rotate = rotate, queue_rotate = rotate;
struct logchannel *f;
FILE *myf;