X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..f1459790fd9627b54b2ff36906c7ba2333c48bf3:/projects/stargazer/plugins/store/files/file_store.cpp diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp index 07638400..556bf8cf 100644 --- a/projects/stargazer/plugins/store/files/file_store.cpp +++ b/projects/stargazer/plugins/store/files/file_store.cpp @@ -1766,7 +1766,7 @@ switch (td.tariffConf.traffType) return 0; } //----------------------------------------------------------------------------- -int FILES_STORE::WriteDetailedStat(const map * statTree, +int FILES_STORE::WriteDetailedStat(const map & statTree, time_t lastStat, const string & login) const { @@ -1899,9 +1899,9 @@ if (fprintf(statFile, "-> %02d.%02d.%02d - %02d.%02d.%02d\n", } map::const_iterator stIter; -stIter = statTree->begin(); +stIter = statTree.begin(); -while (stIter != statTree->end()) +while (stIter != statTree.end()) { string u, d; x2str(stIter->second.up, u);