diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-19 18:39:25 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-19 18:39:25 +0800 |
commit | 5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5 (patch) | |
tree | 1fff81f99998e464662b39e7f515ecd2fa2480a8 /daemon/logind/logind.c | |
parent | 7f2af2544f444e62db177d0848928a485c0cfcf4 (diff) | |
download | pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar.gz pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar.bz2 pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar.lz pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar.xz pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.tar.zst pttbbs-5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5.zip |
* move emaildb to standalone regmaildb
* integrate the daemon structure to daemons.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/logind/logind.c')
-rw-r--r-- | daemon/logind/logind.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; |