there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-09 20:40:10 +00:00
parent b31b0be819
commit 8d88bf549d
10 changed files with 67 additions and 69 deletions

View File

@@ -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;