summaryrefslogtreecommitdiff
path: root/src/ivymon
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivymon')
-rwxr-xr-xsrc/ivymon6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ivymon b/src/ivymon
index 003f76d..47f1d54 100755
--- a/src/ivymon
+++ b/src/ivymon
@@ -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 {