sourcestats: update regression after loading dump file

Call SST_DoNewRegression() immediately in SST_LoadFromFile instead of
relying on SRC_ReloadSources().
This commit is contained in:
Miroslav Lichvar
2016-08-19 16:21:27 +02:00
parent 02844e9b01
commit 41cf867738
2 changed files with 1 additions and 2 deletions

View File

@@ -1227,7 +1227,6 @@ SRC_ReloadSources(void)
LOG(LOGS_WARN, LOGF_Sources, "Could not open dump file %s", filename);
} else {
if (SST_LoadFromFile(sources[i]->stats, in)) {
SST_DoNewRegression(sources[i]->stats);
} else {
LOG(LOGS_WARN, LOGF_Sources, "Problem loading from file %s", filename);
}