diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:42:31 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:42:31 +0000 |
commit | bbad75fb6c7344528c7f631c2daf09a87bab9744 (patch) | |
tree | 48af262594e7f29771a57f1a40b20702821f4b57 /cmd-server-info.c | |
parent | a090b78e8d5bf43a92d52e8e24b6566ff542c88e (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-server-info.c')
-rw-r--r-- | cmd-server-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 90c3bf60..3f4bac13 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 <nicm@users.sourceforge.net> @@ -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'; |