diff --git a/libretroshare/src/gxs/rsdataservice.cc b/libretroshare/src/gxs/rsdataservice.cc index b09e62c99..6834444ae 100644 --- a/libretroshare/src/gxs/rsdataservice.cc +++ b/libretroshare/src/gxs/rsdataservice.cc @@ -1400,6 +1400,9 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp) mGrpMetaDataCache.setCacheUpToDate(true); } delete c; +#ifdef RS_DATA_SERVICE_DEBUG_TIME + resultCount += grp.size(); +#endif // if(c) // { @@ -1418,9 +1421,6 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp) // } // valid = c->moveToNext(); // -//#ifdef RS_DATA_SERVICE_DEBUG_TIME -// ++resultCount; -//#endif // } // delete c; // } @@ -1449,6 +1449,10 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp) if(meta) grp[mit->first] = meta; +#ifdef RS_DATA_SERVICE_DEBUG_TIME + ++resultCount; +#endif + delete c; // if(c)