mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 10:58:48 +00:00
Pick newest session as documented, not oldest, from Magnus Gross.
This commit is contained in:
parent
6207a45139
commit
a28175dbfd
@ -410,7 +410,7 @@ server_find_session(struct session *s,
|
|||||||
static int
|
static int
|
||||||
server_newer_session(struct session *s_loop, struct session *s_out)
|
server_newer_session(struct session *s_loop, struct session *s_out)
|
||||||
{
|
{
|
||||||
return (timercmp(&s_loop->activity_time, &s_out->activity_time, <));
|
return (timercmp(&s_loop->activity_time, &s_out->activity_time, >));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user