aboutsummaryrefslogtreecommitdiff
path: root/cmd-find.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-find.c')
-rw-r--r--cmd-find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-find.c b/cmd-find.c
index a71968a1..14124a36 100644
--- a/cmd-find.c
+++ b/cmd-find.c
@@ -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);