diff options
-rw-r--r-- | pttbbs/daemon/logind/logind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/daemon/logind/logind.c b/pttbbs/daemon/logind/logind.c index 0274c9e9..6680a151 100644 --- a/pttbbs/daemon/logind/logind.c +++ b/pttbbs/daemon/logind/logind.c @@ -565,7 +565,7 @@ _telnet_write_data_cb(void *write_arg, int fd GCC_UNUSED, #ifdef LOGIND_OPENFD_IN_AYT static void -_telnet_send_ayt_cb(void *ayt_arg, int fd) +_telnet_send_ayt_cb(void *ayt_arg, int fd GCC_UNUSED) { login_conn_ctx *conn = (login_conn_ctx *)ayt_arg; char buf[64]; @@ -1055,7 +1055,7 @@ regular_check() { // cache results static time_t last_check_time = 0; - time_t now = time(0); + time4_t now = time(0); if ( now - last_check_time < LOGIND_REGULAR_CHECK_DURATION) return; |