diff --git a/bin/efa b/bin/efa index 04b853b9301b3772fbc96c9b3a5665de8c2f8ebe..3a4af9f8f8aa847ec0a927b2639f96071eb3c36f 100755 --- a/bin/efa +++ b/bin/efa @@ -58,7 +58,8 @@ sub parse_content($) { # If the first field is not a time we've got some additional information. # Sadly, this script does not parse it yet, so it's ignored until ($raw->[$offer]->[$offset] =~ /^\d+:\d+$/) { - last unless exists($raw->[$offer]->[++$offset]); + printf("# lost information: %s\n", $raw->[$offer]->[$offset]) if ($debug); + last unless (exists($raw->[$offer]->[++$offset])); } $return->[$offer]->[$i] = { deptime => $raw->[$offer]->[$offset],