diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 20:40:10 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 20:40:10 +0000 |
commit | 0f9cabe4d5959d4b424512d6dc37ab7d7fdc52d2 (patch) | |
tree | 6c049156bd48f17ee9c0583ade9bf9039abc6ac6 /logger.c | |
parent | 926f67f6828f49103b6c204fe6da0641465e4dad (diff) |
there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33351 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |