Changeset d27dc1e in code for logger.c


Ignore:
Timestamp:
Jan 18, 2015, 9:59:35 PM (10 years ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
8d30e02
Parents:
4c2a775
Message:

fixup signal and MAXPATHLEN include fallout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • logger.c

    r4c2a775 rd27dc1e  
    2222#include <sys/uio.h>
    2323#include <errno.h>
     24#include <limits.h>
    2425#include <netdb.h>
    2526#include <stdlib.h>
     
    6061struct event ev_tick;
    6162
    62 extern char logprefix[MAXPATHLEN/2];
     63extern char logprefix[PATH_MAX/2];
    6364extern int dologging;
    6465
     
    224225logger_open(char *group)
    225226{
    226         char path[MAXPATHLEN];
     227        char path[PATH_MAX];
    227228        FILE *fp = NULL;
    228229
Note: See TracChangeset for help on using the changeset viewer.