summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 2dd433e..4291b54 100644
--- a/src/main.c
+++ b/src/main.c
@@ -120,7 +120,7 @@ int main( int argc, char **argv )
if ( screen.lockTimestamp == 0 && ( NOW - usr->lockTime ) > 4 ) {
// Session is not locked, unconditionally update timestamp
if ( usr->lockTime != 0 ) {
- printf( "%s #### Session got unlocked.\n", usr->display );
+ //printf( "%s #### Session got unlocked.\n", usr->display );
}
usr->lockTime = 0;
usr->lockTimeOffset = 0;
@@ -128,7 +128,7 @@ int main( int argc, char **argv )
usr->lastActivityOffset = 0;
} else if ( screen.lockTimestamp - usr->lockTime > 10 ) { // Allow for slight offset in case we manually set this
// Session is locked
- printf( "%s #### Session got externally locked.\n", usr->display );
+ //printf( "%s #### Session got externally locked.\n", usr->display );
usr->lockTime = screen.lockTimestamp;
usr->lockTimeOffset = 0;
if ( usr->lastActivity == 0 || usr->lockTime != 0 ) {