aboutsummaryrefslogtreecommitdiff
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-09-10 12:01:08 +0100
committerThomas Adam <thomas@xteddy.org>2015-09-10 12:01:08 +0100
commit1fd756066cc0df12debb8f4e44dee46142c73348 (patch)
treea566a908db12aa7ca8d302ec1075d791f5db567a /cmd-switch-client.c
parent5af2f68a2cab8b3703382e69d7b3fb38c2fe7e65 (diff)
parentcfabe30becba6f0c54035a29ee61a6a7f3d0cf60 (diff)
downloadrtmux-1fd756066cc0df12debb8f4e44dee46142c73348.tar.gz
rtmux-1fd756066cc0df12debb8f4e44dee46142c73348.tar.bz2
rtmux-1fd756066cc0df12debb8f4e44dee46142c73348.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c1
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();