summaryrefslogtreecommitdiffstats
path: root/cmd-list-sessions.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-03 20:29:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-03 20:29:47 +0000
commit5289da29ba2fdf15413ec94fa7f2838469abccae (patch)
treeaa229c5c632273d18bd8c0f8729994f0c514327f /cmd-list-sessions.c
parentc95f1d1ff951fdfea9057952ecadb25884ba8daa (diff)
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.
Diffstat (limited to 'cmd-list-sessions.c')
-rw-r--r--cmd-list-sessions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-list-sessions.c b/cmd-list-sessions.c
index cfa1433b..908278d5 100644
--- a/cmd-list-sessions.c
+++ b/cmd-list-sessions.c
@@ -61,7 +61,7 @@ cmd_list_sessions_exec(unused struct cmd *self, struct cmd_ctx *ctx)
xsnprintf(tmp, sizeof tmp, " (group %u)", idx);
}
- t = s->tv.tv_sec;
+ t = s->creation_time.tv_sec;
tim = ctime(&t);
*strchr(tim, '\n') = '\0';