diff options
author | nicm <nicm> | 2015-09-10 08:58:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-09-10 08:58:14 +0000 |
commit | cfabe30becba6f0c54035a29ee61a6a7f3d0cf60 (patch) | |
tree | b31b518b32858cf89f019484b95bf65c69e3d24f /cmd-switch-client.c | |
parent | 67ee995cc1ec0a9ae2247dae6bdde54211be8c5a (diff) | |
download | rtmux-cfabe30becba6f0c54035a29ee61a6a7f3d0cf60.tar.gz rtmux-cfabe30becba6f0c54035a29ee61a6a7f3d0cf60.tar.bz2 rtmux-cfabe30becba6f0c54035a29ee61a6a7f3d0cf60.zip |
Add session_last_attached time and format, from Sina Siadat.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 8bc8a3c5..10171018 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -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(); |