summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
authortcunha <tcunha>2009-11-04 22:42:31 (GMT)
committer tcunha <tcunha>2009-11-04 22:42:31 (GMT)
commit6090a099f85311b05c6e1bf49a3ed518d8796ffc (patch) (side-by-side diff)
treee51ace2cc753b4b8a544586d602c8bd2435cd321 /cmd-server-info.c
parent87640ff0442c75ae4ee62e4bffd36cf998839967 (diff)
downloadtmux-old-6090a099f85311b05c6e1bf49a3ed518d8796ffc.zip
tmux-old-6090a099f85311b05c6e1bf49a3ed518d8796ffc.tar.gz
tmux-old-6090a099f85311b05c6e1bf49a3ed518d8796ffc.tar.bz2
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-server-info.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-server-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index 900f0dd..5e5993a 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-server-info.c,v 1.32 2009/11/02 21:38:26 tcunha Exp $ */
+/* $Id: cmd-server-info.c,v 1.33 2009/11/04 22:42:31 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <[email protected]>
@@ -105,7 +105,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
if (s == NULL)
continue;
- t = s->tv.tv_sec;
+ t = s->creation_time.tv_sec;
tim = ctime(&t);
*strchr(tim, '\n') = '\0';