From 5289da29ba2fdf15413ec94fa7f2838469abccae Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 3 Nov 2009 20:29:47 +0000 Subject: Change session and client activity and creation time members to have more meaningful names. Also, remove the code to try and update the session activity time for the command client when a command message is received as is pointless because it des not have a session. --- tmux.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 20a1cbb9..62419913 100644 --- a/tmux.h +++ b/tmux.h @@ -922,8 +922,9 @@ TAILQ_HEAD(session_groups, session_group); struct session { char *name; - struct timeval tv; - time_t activity; + + struct timeval creation_time; + struct timeval activity_time; u_int sx; u_int sy; @@ -1061,7 +1062,8 @@ struct mouse_event { /* Client connection. */ struct client { struct imsgbuf ibuf; - struct timeval tv; + + struct timeval creation_time; struct environ environ; -- cgit