Review changes.

git-svn-id: file:///svn/unbound/trunk@99 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-02-14 14:02:50 +00:00
parent b982d36fe4
commit b65ed487ff
6 changed files with 65 additions and 62 deletions
+3
View File
@@ -274,6 +274,9 @@ replay_scenario_read(FILE* in, const char* name)
in, name, &lineno, &ttl, &or, &prev);
if(!mom)
fatal_exit("%d: bad moment", lineno);
if(scen->mom_last &&
scen->mom_last->time_step >= mom->time_step)
fatal_exit("%d: time goes backwards", lineno);
if(scen->mom_last)
scen->mom_last->mom_next = mom;
else scen->mom_first = mom;