Commit ffb3a4db authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

fix off-by-one error in json_route_diff

parent 626313db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ sub startup {
					$sched_idx++;
				}
			}
			while ( $route_idx < $#route ) {
			while ( $route_idx <= $#route ) {
				push(
					@json_route,
					{
@@ -230,7 +230,7 @@ sub startup {
				);
				$route_idx++;
			}
			while ( $sched_idx < $#sched_route ) {
			while ( $sched_idx <= $#sched_route ) {
				push(
					@json_route,
					{