1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Assign to the right variable when comparing clients.

This commit is contained in:
nicm 2015-04-27 22:42:10 +00:00
parent 95195f5258
commit 91f6347485

View File

@ -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);