179c179
< cachePorts = params->cachePorts;
---
> cacheStorePorts = params->cacheStorePorts;
196c196
< usedPorts = 0;
---
> usedStorePorts = 0;
795c795
< usedPorts < cachePorts) {
---
> usedStorePorts < cacheStorePorts) {
813c813
< ++usedPorts;
---
> ++usedStorePorts;
953,954c953,954
< if (usedPorts < cachePorts) {
< ++usedPorts;
---
> if (usedStorePorts < cacheStorePorts) {
> ++usedStorePorts;
978c978
< usedPorts = 0;
---
> usedStorePorts = 0;