mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
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:
4
logger.c
4
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;
|
||||
|
Reference in New Issue
Block a user