summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas-m5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 7b2491b..c40f0ab 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -154,7 +154,10 @@ sub display_result {
print "\n";
$first_message = 0;
}
- printf( "# %s\n", $msg );
+ printf( "# %s\n", $msg->{header} );
+ if ( $msg->{lead} ) {
+ printf( "# %s\n", $msg->{lead} );
+ }
}
}