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 *event;
|
||||||
char *detail;
|
char *detail;
|
||||||
{
|
{
|
||||||
|
#if defined(LOG_FILE) || DEBUGGING
|
||||||
PID_T pid = xpid;
|
PID_T pid = xpid;
|
||||||
|
#endif
|
||||||
#if defined(LOG_FILE)
|
#if defined(LOG_FILE)
|
||||||
char *msg;
|
char *msg;
|
||||||
TIME_T now = time((TIME_T) 0);
|
TIME_T now = time((TIME_T) 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user