diff options
Diffstat (limited to 'daemon/logind')
-rw-r--r-- | daemon/logind/loginc.c | 2 | ||||
-rw-r--r-- | daemon/logind/logind.c | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/daemon/logind/loginc.c b/daemon/logind/loginc.c index 1de9b5f8..901ee59c 100644 --- a/daemon/logind/loginc.c +++ b/daemon/logind/loginc.c @@ -4,7 +4,7 @@ #include <unistd.h> #include "bbs.h" -#include "logind.h" +#include "daemons.h" // standalone client to test logind diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 2f7253bf..04ad99e5 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -34,7 +34,7 @@ #include "bbs.h" #include "banip.h" -#include "logind.h" +#include "daemons.h" #ifndef LOGIND_REGULAR_CHECK_DURATION #define LOGIND_REGULAR_CHECK_DURATION (15) @@ -2236,7 +2236,11 @@ main(int argc, char *argv[], char *envp[]) } // warning: after daemonize, the directory was changed to root (/)... - fprintf(stderr, LOG_PREFIX "start event dispatch.\r\n"); + { + time4_t tnow = time(0); + fprintf(stderr, LOG_PREFIX "%s: start event dispatch.\r\n", + Cdate(&tnow)); + } event_dispatch(); return 0; |