Add session_last_attached time and format, from Sina Siadat.

This commit is contained in:
nicm
2015-09-10 08:58:14 +00:00
parent 67ee995cc1
commit cfabe30bec
7 changed files with 15 additions and 0 deletions

View File

@ -129,6 +129,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
c->session = s;
status_timer_start(c);
session_update_activity(s, NULL);
gettimeofday(&s->last_attached_time, NULL);
recalculate_sizes();
server_check_unattached();