summaryrefslogtreecommitdiffstats
path: root/cmd-list-sessions.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-04 22:42:31 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-04 22:42:31 +0000
commitbbad75fb6c7344528c7f631c2daf09a87bab9744 (patch)
tree48af262594e7f29771a57f1a40b20702821f4b57 /cmd-list-sessions.c
parenta090b78e8d5bf43a92d52e8e24b6566ff542c88e (diff)
Sync OpenBSD patchset 483:
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-list-sessions.c b/cmd-list-sessions.c
index e6be3bbc..95db9b8e 100644
--- a/cmd-list-sessions.c
+++ b/cmd-list-sessions.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-list-sessions.c,v 1.22 2009-10-11 23:38:16 tcunha Exp $ */
+/* $Id: cmd-list-sessions.c,v 1.23 2009-11-04 22:42:31 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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';