diff options
-rwxr-xr-x | src/ivymon | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1978,8 +1978,8 @@ sub stepsnumber { $step = int($1/10); next; } - my ($sender, $message) = split(/ /, $_, 2); - $timefound = 1 if $message =~ /^(\d+)\s+.*/; + my ($sender, $message) = split(/\s+/, $_, 2); + $timefound = 1 if $message =~ /^(\d[\d\.]+\d)\s+.*/; last; } seek(IN, 0, 0); @@ -2181,7 +2181,7 @@ sub loadfileForReplay { while(<IN>) { chomp; next if /^applications=/ or /^messages_number=/ or /^\s*$/ or /^(marker\d+)$/; - ($sender, $time, $message) = split(/ /, $_, 3); + ($sender, $time, $message) = split(/\s+/, $_, 3); if (defined $replay_max_time) { $replay_max_time = $time if $time > $replay_max_time; } else { |