- for (std::map<int,int>::const_iterator ca(i->second->m_cache.begin());
- ca != i->second->m_cache.end(); ++ca)
- fprintf(f, ",c:%02d%04x", ca->first, ca->second);
+ for (int x=0; x < eDVBService::cacheMax; ++x)
+ if (i->second->m_cache[x] != -1)
+ fprintf(f, ",c:%02d%04x", x, i->second->m_cache[x]);