From 992fd54b9d9be8e47e0208e7b582bacf82b7e983 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 4 Mar 2015 21:24:37 +1100 Subject: [PATCH] Choose best proxy when there is any adequately sized subproxy matching the current one --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index dc51331e..cf37916c 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2565,7 +2565,7 @@ static sdata_t *select_sdata(const ckpool_t *ckp, sdata_t *ckp_sdata) best_id = best->id; best_lowid = best->low_id; best_subid = best->subid; - if (best == current) + if (proxy == current) break; } }