Fix build with LOG_FILE undefined and DEBUGGING disabled.
This commit is contained in:
parent
ed9eade0ad
commit
6e937acf71
@ -391,7 +391,9 @@ log_it(username, xpid, event, detail)
|
||||
char *event;
|
||||
char *detail;
|
||||
{
|
||||
#if defined(LOG_FILE) || DEBUGGING
|
||||
PID_T pid = xpid;
|
||||
#endif
|
||||
#if defined(LOG_FILE)
|
||||
char *msg;
|
||||
TIME_T now = time((TIME_T) 0);
|
||||
|
Loading…
Reference in New Issue
Block a user