Browse Source

Logic fail.

master
Con Kolivas 7 years ago
parent
commit
88173f7a8b
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -4781,7 +4781,7 @@ static sdata_t *select_sdata(ckpool_t *ckp, sdata_t *ckp_sdata, const bool vmask
global = ckp_sdata->proxy;
/* If the client needs a version mask, only use sdata from pools with
* one set. */
if (vmask || ckp->version_mask)
if (!vmask || ckp->version_mask)
best = global;
HASH_ITER(hh, ckp_sdata->proxies, proxy, tmp) {

Loading…
Cancel
Save