diff options
-rw-r--r-- | src/rpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -178,8 +178,9 @@ static void handleClient( int fd, struct ucred *creds ) if ( user != NULL ) { fprintf( s, "[%s]\n" "logoutTime=%lld\n" - "locked=%d\n", - tok, (long long)user->logoutTime, (int)user->isLocked ); + "locked=%d\n" + "idleSeconds=%d\n", + tok, (long long)user->logoutTime, (int)user->isLocked, (int)( time(NULL) - user->lastActivity ) ); } tok = strtok( NULL, " \t\n\r" ); } |