diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-04-04 22:44:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-04-04 22:44:41 +0000 |
commit | fc5d08b867bba1b79fb659ab5f97e381991af4a9 (patch) | |
tree | 4719d7a80fa5319685f0fb5cb3f7ba5326f4f617 /usr.bin/tmux/server-fn.c | |
parent | 36ca7e8c9c3dc44041e0fbdc02d85c27e64ce550 (diff) |
Pick newest session as documented, not oldest, from Magnus Gross.
Diffstat (limited to 'usr.bin/tmux/server-fn.c')
-rw-r--r-- | usr.bin/tmux/server-fn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c index ad01c8ae7fc..e3cd2186cf7 100644 --- a/usr.bin/tmux/server-fn.c +++ b/usr.bin/tmux/server-fn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-fn.c,v 1.136 2024/03/21 11:30:42 nicm Exp $ */ +/* $OpenBSD: server-fn.c,v 1.137 2024/04/04 22:44:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -410,7 +410,7 @@ server_find_session(struct session *s, static int 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 |