mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 10:25:37 +00:00
Assign to the right variable when comparing clients.
This commit is contained in:
parent
95195f5258
commit
91f6347485
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ cmd_find_best_client(struct client **clist, u_int csize)
|
|||
} else {
|
||||
TAILQ_FOREACH(c_loop, &clients, entry) {
|
||||
if (cmd_find_client_better(c_loop, c))
|
||||
c_loop = c;
|
||||
c = c_loop;
|
||||
}
|
||||
}
|
||||
return (c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue