From 508bb71e9b86cad297f295cdf019dacebb95d637 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 21 Mar 2015 21:04:01 +1100 Subject: [PATCH] Recruit from best not proxy --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 2058ebc1..d80b1aac 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1571,7 +1571,7 @@ static void recruit_best_userproxy(sdata_t *sdata, const int userid, const int r mutex_unlock(&sdata->proxy_lock); if (best) - generator_recruit(sdata->ckp, proxy->id, recruits); + generator_recruit(sdata->ckp, best->id, recruits); } /* Check how much headroom the userid proxies have and reconnect any clients